From 4cae3c2244e14dd5c24c040ecff12a9d2c0cde4f Mon Sep 17 00:00:00 2001 From: Andrew D. France Date: Tue, 22 Jul 2025 21:04:37 -0500 Subject: update the Jenkinsfile to explicitly tell the docker build command which file to use with the -f flag: Attempt3 --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index e8d568d..83be0ac 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,9 +6,9 @@ pipeline { steps { script { echo 'Building the Docker image...' - // Build the Docker image from the Dockerfile in the current directory + // Build the Docker image from the Dockerfile.jenkins in the current directory // and tag it as 'lush-arch-test' - sh 'docker build -t lush-arch-test .' + sh 'docker build -f Dockerfile.jenkins -t lush-arch-test .' } } } @@ -61,4 +61,4 @@ pipeline { sh 'docker rmi lush-arch-test || true' } } -} \ No newline at end of file +} -- cgit v1.2.3-59-g8ed1b