Skip to content

Commit 9cd3c72

Browse files
authored
chore: reduce number of CVEs in docker image second round (#346)
Signed-off-by: ThibaultFy <thibault.fouqueray@gmail.com>
1 parent 34e990b commit 9cd3c72

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docker/substra-frontend/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf
2727
COPY --from=build /workspace/dist /usr/share/nginx/html
2828

2929
RUN apt-get update -y \
30-
&& apt-get --allow-remove-essential --auto-remove remove libexpat1 libaom3 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 util-linux-extra util-linux mount libmount1 -y\
30+
&& apt-get install -y --no-install-recommends glibc-source=2.36-9+deb12u7 \
31+
&& apt-get --allow-remove-essential --auto-remove remove perl-base libexpat1 libaom3 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 util-linux-extra util-linux mount libmount1 -y\
3132
&& apt-get clean \
3233
&& rm -rf /var/lib/apt/lists/* \
3334
&& mv /usr/share/nginx/html/index.html /usr/share/nginx/html/index-template.html

0 commit comments

Comments
 (0)