Skip to content

Commit f5eab55

Browse files
Remove libtool - c tooling package
remove libpcre3, zlib1g -dev build packages for nginx build-time dependencies we only need runtime libraries, no -dev required remove tcmalloc - using jemalloc
1 parent 5926214 commit f5eab55

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

image/base/Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,12 @@ RUN --mount=type=tmpfs,target=/var/log \
7373
apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install gnupg sudo curl fping locales \
7474
ca-certificates rsync \
7575
pkg-config patch \
76-
libtool \
77-
libpcre3 zlib1g \
7876
gawk parallel \
7977
anacron wget \
8078
psmisc whois brotli \
81-
libtcmalloc-minimal4 \
8279
pngcrush pngquant ripgrep poppler-utils \
80+
# nginx runtime dependencies
81+
libpcre3 zlib1g \
8382
# imagemagick runtime dependencies
8483
ghostscript libjbig0 libtiff6 libpng16-16 libfontconfig1 \
8584
libwebpdemux2 libwebpmux3 libxext6 librsvg2-2 libgomp1 \
@@ -171,9 +170,9 @@ FROM discourse_slim AS discourse_gem_builder
171170
RUN --mount=type=tmpfs,target=/var/log \
172171
apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install \
173172
cmake g++ \
173+
libtool \
174174
libxslt-dev libcurl4-openssl-dev \
175175
libssl-dev libyaml-dev \
176-
libpcre3-dev zlib1g-dev \
177176
libxml2-dev \
178177
libreadline-dev \
179178
libunwind-dev \
@@ -205,9 +204,9 @@ FROM discourse_web_only AS discourse_release
205204
RUN --mount=type=tmpfs,target=/var/log \
206205
apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install \
207206
cmake g++ \
207+
libtool \
208208
libxslt-dev libcurl4-openssl-dev \
209209
libssl-dev libyaml-dev \
210-
libpcre3-dev zlib1g-dev \
211210
libxml2-dev \
212211
libreadline-dev \
213212
libunwind-dev \

0 commit comments

Comments
 (0)