diff --git a/Dockerfile b/Dockerfile index 83e7ec2..3c056af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,10 @@ FROM build-image AS build-stage ARG REPONAME ARG BUILD_PACKAGES -RUN if [ -n "$BUILD_PACKAGES" ]; then apt update && apt install $BUILD_PACKAGES; fi +RUN if [ -n "$BUILD_PACKAGES" ]; then \ + apt update && \ + apt install -y --no-install-recommends $BUILD_PACKAGES; \ + fi WORKDIR /opt/${REPONAME}