remove /src of course

This commit is contained in:
Nils 2023-04-15 15:24:28 +02:00 committed by GitHub
parent 133eaa33a2
commit 16afa6769a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,8 @@ RUN NPROC=${BUILD_CONCURRENCY:-$(nproc)} && \
make -j${NPROC} install && \ make -j${NPROC} install && \
cd ../profiles && \ cd ../profiles && \
cp -r * /opt && \ cp -r * /opt && \
strip /usr/local/bin/* strip /usr/local/bin/* && \
rm -rf /src
# Multistage build to reduce image size - https://docs.docker.com/engine/userguide/eng-image/multistage-build/#use-multi-stage-builds # Multistage build to reduce image size - https://docs.docker.com/engine/userguide/eng-image/multistage-build/#use-multi-stage-builds