Details
-
Task
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
-
DevOps: Sprint 103
-
FOLIO DevOps
Description
There is an issue with docker image creation in mod-password-validator/job/mpv-with-spring/
For some reason a file that resides next to Dockerfile in the source folder cannot be copied (see an excerpt from the log below). The same works w/o any problems if the image is built inside vagrant box. Not sure if the issue is with Dockerfile itself or docker image build step in Jenkins.
+ docker build --pull=true --no-cache=true -t mod-password-validator:1.9.0-SNAPSHOT.10 . Sending build context to Docker daemon 84.28MB Step 1/9 : FROM folioci/alpine-jre-openjdk11:latest latest: Pulling from folioci/alpine-jre-openjdk11 Digest: sha256:752a2e458a7f4bbdef4157e5c7d658bdc6b42ae1dc471032d9b2068a78c80c87 Status: Image is up to date for folioci/alpine-jre-openjdk11:latest ---> 92854f01d29e Step 2/9 : USER root ---> Running in 147bb0233601 Removing intermediate container 147bb0233601 ---> 6025bb853e75 Step 3/9 : ENV APP_FILE mod-password-validator-fat.jar ---> Running in 5ebbee054e3b Removing intermediate container 5ebbee054e3b ---> 8d4cdc97e6f6 Step 4/9 : ARG JAR_FILE=./target/*.jar ---> Running in 4219bd72a636 Removing intermediate container 4219bd72a636 ---> 45b63a6c2d27 Step 5/9 : COPY ${JAR_FILE} ${JAVA_APP_DIR}/${APP_FILE} ---> f68a3027a0d5 Step 6/9 : ARG RUN_ENV_FILE=run-env.sh ---> Running in cc2c501ef25d Removing intermediate container cc2c501ef25d ---> 6e2ebe8b695b Step 7/9 : COPY ${RUN_ENV_FILE} ${JAVA_APP_DIR}/ COPY failed: stat /var/lib/docker/tmp/docker-builder557747113/run-env.sh: no such file or directory [Pipeline] }