Skip to content

Commit

Permalink
fix: [NPM] [CVEs] Update NPM Linux Dockerfile to Fix Ubuntu Vulnerabi…
Browse files Browse the repository at this point in the history
…lities (#3439)

* updated npm linux dockerfile to run apt-get upgrade to fix ubuntu cves

* updated to install specific packages
  • Loading branch information
rayaisaiah authored Feb 25, 2025
1 parent 1f5193c commit eec82d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm/linux.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ RUN CGO_ENABLED=0 go build -v -o /usr/local/bin/azure-npm -ldflags "-X main.vers

FROM mcr.microsoft.com/mirror/docker/library/ubuntu:20.04
COPY --from=builder /usr/local/bin/azure-npm /usr/bin/azure-npm
RUN apt-get update && apt-get install -y iptables ipset ca-certificates && apt-get autoremove -y && apt-get clean
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
RUN chmod +x /usr/bin/azure-npm
ENTRYPOINT ["/usr/bin/azure-npm", "start"]

0 comments on commit eec82d9

Please sign in to comment.