Skip to content

Commit bbf09c9

Browse files

File tree

1 file changed

+26
-20
lines changed

1 file changed

+26
-20
lines changed

Dockerfile

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -111,20 +111,23 @@ COPY ./build/supervisord.conf /etc/
111111
USER root
112112

113113
# install dotnet and supervisor
114-
RUN apt-get update -y && \
115-
apt-get install -y --no-install-recommends \
116-
wget \
117-
apt-transport-https \
114+
RUN apt-get update \
115+
&& apt-get install -y --no-install-recommends \
118116
supervisor \
117+
wget \
119118
dos2unix \
119+
ca-certificates \
120+
\
121+
# .NET dependencies
120122
libc6 \
121-
libgcc1 \
122-
libgssapi-krb5-2 \
123-
libicu66 \
124-
libssl1.1 \
123+
libgcc-s1 \
124+
libicu74 \
125+
libssl3t64 \
125126
libstdc++6 \
126-
zlib1g && \
127-
dos2unix /app/docker-entrypoint.sh
127+
tzdata \
128+
tzdata-legacy \
129+
&& rm -rf /var/lib/apt/lists/* \
130+
&& dos2unix /app/docker-entrypoint.sh
128131

129132
ENV discovery.type=single-node \
130133
xpack.security.enabled=false \
@@ -169,20 +172,23 @@ COPY ./build/supervisord.conf /etc/
169172
USER root
170173

171174
# install dotnet and supervisor
172-
RUN apt-get update -y && \
173-
apt-get install -y --no-install-recommends \
174-
wget \
175-
apt-transport-https \
175+
RUN apt-get update \
176+
&& apt-get install -y --no-install-recommends \
176177
supervisor \
178+
wget \
177179
dos2unix \
180+
ca-certificates \
181+
\
182+
# .NET dependencies
178183
libc6 \
179-
libgcc1 \
180-
libgssapi-krb5-2 \
181-
libicu66 \
182-
libssl1.1 \
184+
libgcc-s1 \
185+
libicu74 \
186+
libssl3t64 \
183187
libstdc++6 \
184-
zlib1g && \
185-
dos2unix /app/docker-entrypoint.sh
188+
tzdata \
189+
tzdata-legacy \
190+
&& rm -rf /var/lib/apt/lists/* \
191+
&& dos2unix /app/docker-entrypoint.sh
186192

187193
ENV discovery.type=single-node \
188194
xpack.security.enabled=false \

0 commit comments

Comments
 (0)