Skip to content

Commit 509b9b7

Browse files
committed
[docker] fix: remove superfluous VOLUME instruction
this creates a separate volume, which is not what we want we want it to be mountable, which it always is
1 parent 32a7ac2 commit 509b9b7

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

packaging/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ COPY *.awk *.patch *.sh /opt/jdkpkg/
2626
COPY debian/ /opt/jdkpkg/debian/
2727
RUN chmod +x /opt/jdkpkg/*.sh
2828

29-
# this directory should be mounted
30-
VOLUME /build
31-
3229
USER compiler
3330
WORKDIR /opt/jdkpkg
3431
CMD ["/bin/bash", "-c", "/opt/jdkpkg/package.sh"]

scripts/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ ENV BUILDER_EXTRA=${extra}
2121
COPY *.awk *.patch *.sh /opt/jdkcross/
2222
RUN chmod +x /opt/jdkcross/*.sh
2323

24-
# this directory should be mounted
25-
VOLUME /build
26-
2724
USER compiler
2825
WORKDIR /opt/jdkcross
2926
CMD ["/opt/jdkcross/autorun.sh"]

0 commit comments

Comments
 (0)