From e09b3c8e24c3cfa19be495105bd69c4eec72c2f7 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Sun, 5 Sep 2021 22:57:33 +0200 Subject: [PATCH] try using -mount=type=bind to shrink container for sogo --- containers/apps/sogo/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/containers/apps/sogo/Dockerfile b/containers/apps/sogo/Dockerfile index c14c1f7d30a..cfa81236873 100644 --- a/containers/apps/sogo/Dockerfile +++ b/containers/apps/sogo/Dockerfile @@ -39,10 +39,10 @@ ENV GOSU_VERSION 1.12 USER root SHELL ["/bin/bash", "-o", "pipefail", "-c"] -COPY --from=builder /buildtmp/vendor/ /build # hadolint ignore=DL3008,DL3015,SC2086,SC2155,DL3047 -RUN \ +RUN --mount=type=bind,from=builder,source=/buildtmp/vendor,target=/build \ + cat /build/sogo/README.md && \ apt-get -qq update \ && \ apt-get -qq install -y \