Skip to content

Commit

Permalink
Add '--no-install-recommends' in Dockerfile
Browse files Browse the repository at this point in the history
It appears we can shave off some megabytes by including this satement
when installing packages. I have not run into any issues with this
yet, but this could potentially be a source of problems later.
  • Loading branch information
JonasAlfredsson committed Dec 19, 2020
1 parent bf2c135 commit c1a74b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LABEL maintainer="Jonas Alfredsson <[email protected]>"
RUN set -ex && \
# Install all necessary packages.
apt-get update && \
apt-get install -y \
apt-get install -y --no-install-recommends \
build-essential \
curl \
libffi6 \
Expand Down

0 comments on commit c1a74b8

Please sign in to comment.