Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit eec82d9

Browse files
authoredFeb 25, 2025··
fix: [NPM] [CVEs] Update NPM Linux Dockerfile to Fix Ubuntu Vulnerabilities (#3439)
* updated npm linux dockerfile to run apt-get upgrade to fix ubuntu cves * updated to install specific packages
1 parent 1f5193c commit eec82d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎npm/linux.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ RUN CGO_ENABLED=0 go build -v -o /usr/local/bin/azure-npm -ldflags "-X main.vers
88

99
FROM mcr.microsoft.com/mirror/docker/library/ubuntu:20.04
1010
COPY --from=builder /usr/local/bin/azure-npm /usr/bin/azure-npm
11-
RUN apt-get update && apt-get install -y iptables ipset ca-certificates && apt-get autoremove -y && apt-get clean
11+
RUN apt-get update && apt-get install -y libc-bin=2.31-0ubuntu9.17 libc6=2.31-0ubuntu9.17 libtasn1-6=4.16.0-2ubuntu0.1 iptables ipset ca-certificates && apt-get autoremove -y && apt-get clean
1212
RUN chmod +x /usr/bin/azure-npm
1313
ENTRYPOINT ["/usr/bin/azure-npm", "start"]

0 commit comments

Comments
 (0)
Please sign in to comment.