From b675538a47faebeb8f00f2d4c5d1765190cb6721 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 19 Apr 2023 14:48:36 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UBUNTU2204-BASH-3098342 - https://snyk.io/vuln/SNYK-UBUNTU2204-OPENSSL-5296052 - https://snyk.io/vuln/SNYK-UBUNTU2204-OPENSSL-5296082 - https://snyk.io/vuln/SNYK-UBUNTU2204-SHADOW-5425688 - https://snyk.io/vuln/SNYK-UBUNTU2204-SHADOW-5425688 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2385ce1..bb57505 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ ENTRYPOINT ["./build/amlc"] -FROM ubuntu:22.04 as aml_compact +FROM ubuntu:kinetic as aml_compact COPY --from=aml_builder /aml /aml_tmp RUN find /aml_tmp -maxdepth 2 -name *.deb RUN apt install `find /aml_tmp -maxdepth 2 -name *.deb`