From 509b9b753f211f17bb3d76bed3741eead267543d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Van=C4=9Bk?= Date: Fri, 29 May 2020 17:26:49 +0200 Subject: [PATCH] [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 --- packaging/Dockerfile | 3 --- scripts/Dockerfile | 3 --- 2 files changed, 6 deletions(-) diff --git a/packaging/Dockerfile b/packaging/Dockerfile index 83e4675..bbccd79 100644 --- a/packaging/Dockerfile +++ b/packaging/Dockerfile @@ -26,9 +26,6 @@ COPY *.awk *.patch *.sh /opt/jdkpkg/ COPY debian/ /opt/jdkpkg/debian/ RUN chmod +x /opt/jdkpkg/*.sh -# this directory should be mounted -VOLUME /build - USER compiler WORKDIR /opt/jdkpkg CMD ["/bin/bash", "-c", "/opt/jdkpkg/package.sh"] diff --git a/scripts/Dockerfile b/scripts/Dockerfile index 9049f9d..c6b6ce5 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -21,9 +21,6 @@ ENV BUILDER_EXTRA=${extra} COPY *.awk *.patch *.sh /opt/jdkcross/ RUN chmod +x /opt/jdkcross/*.sh -# this directory should be mounted -VOLUME /build - USER compiler WORKDIR /opt/jdkcross CMD ["/opt/jdkcross/autorun.sh"]