Skip to content

Commit

Permalink
smaller image
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuratczyk committed Jan 23, 2025
1 parent a1017df commit f97243e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packaging/docker-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ RUN set -eux; \
sed -i 's/^SYS_PREFIX=.*$/SYS_PREFIX=/' "$RABBITMQ_HOME/sbin/rabbitmq-defaults"; \
grep -qE '^SYS_PREFIX=$' "$RABBITMQ_HOME/sbin/rabbitmq-defaults"; \
chown -R rabbitmq:rabbitmq "$RABBITMQ_HOME"; \
\
apt-mark auto '.*' > /dev/null; \
apt-mark manual $savedAptMark; \
apt-get remove -y --auto-remove build-essential gcc cpp autoconf python3 wx-common \
x11-common perl mysql-common make python3 subversion ; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false;

# set home so that any `--user` knows where to put the erlang cookie
Expand Down

0 comments on commit f97243e

Please sign in to comment.