RFR: Fix Dockerfile issues

Junyuan Zheng github.com+53073448+junyzheng at openjdk.java.net
Mon Jul 13 10:23:18 UTC 2020


1. adding deps.env file to Docker build env
 
error before this change:

Removing intermediate container 72a7b09806df
 ---> 66828863be56
Step 19/52 : COPY gradlew ./
 ---> a3b0c0c94d91
Step 20/52 : ENV JAVA_TOOL_OPTIONS=$JAVA_OPTIONS
 ---> Running in a7296b1bc7c5
Removing intermediate container a7296b1bc7c5
 ---> 9034013f18e5
Step 21/52 : RUN sh gradlew --no-daemon --version $GRADLE_OPTIONS
 ---> Running in 6172925e9a37
gradlew: line 87: ./deps.env: No such file or directory

2. update .tar.gz file name

error before this change:

 ---> 550d7ac342a3
Step 46/53 : COPY --from=prerequisites-runtime /bots/git/ /bots/git/
 ---> 6783d09d4559
Step 47/53 : COPY --from=prerequisites-runtime /bots/hg/ /bots/hg/
 ---> e1a17de8e587
Step 48/53 : COPY --from=builder /bots-build/bots/cli/build/distributions/cli-unknown-linux.tar.gz /bots/tar/
COPY failed: stat
/var/lib/docker/overlay2/fa560932e1a43ea902ad69deadd9ed76da81c01596e971832cec2906e3c494f0/merged/bots-build/bots/cli/build/distributions/cli-unknown-linux.tar.gz:
no such file or directory

-------------

Commit messages:
 - Fix Dockerfile issues

Changes: https://git.openjdk.java.net/skara/pull/692/files
 Webrev: https://webrevs.openjdk.java.net/skara/692/webrev.00
  Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/skara/pull/692.diff
  Fetch: git fetch https://git.openjdk.java.net/skara pull/692/head:pull/692

PR: https://git.openjdk.java.net/skara/pull/692


More information about the skara-dev mailing list