RFR: Fix Dockerfile issues
Robin Westberg
rwestberg at openjdk.java.net
Thu Jul 30 07:50:23 UTC 2020
On Fri, 3 Jul 2020 19:15:42 GMT, Junyuan Zheng <github.com+53073448+junyzheng at openjdk.org> wrote:
> Hi all,
>
> This PR is trying to fix Dockerfile build issue.
>
> 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 Thanks,
>
> Junyuan
Looks good, thanks for fixing! Sorry about the delay, it arrived right in the middle of vacation season. :)
-------------
Marked as reviewed by rwestberg (Reviewer).
PR: https://git.openjdk.java.net/skara/pull/692
More information about the skara-dev
mailing list