Use apt-get, don't install recommended packages

This commit is contained in:
Marc Hagen 2022-11-23 12:54:08 +01:00
parent 06a4fe5f74
commit 3dd95168a9
No known key found for this signature in database

View file

@ -1,6 +1,8 @@
FROM php:8.1-fpm-bullseye FROM php:8.1-fpm-bullseye
RUN apt update && apt install iputils-ping mtr traceroute -y RUN apt-get update && \
apt-get --no-install-recommends -y install iputils-ping mtr traceroute && \
rm -rf /var/lib/apt/lists/*
WORKDIR /var/www/html WORKDIR /var/www/html