1- FROM mcr.microsoft.com/oss/go/microsoft/golang:1.25.7 AS builder
1+ FROM mcr.microsoft.com/oss/go/microsoft/golang:1.25.8 AS builder
22ARG VERSION
33ARG NPM_AI_PATH
44ARG NPM_AI_ID
@@ -9,16 +9,18 @@ RUN MS_GO_NOSYSTEMCRYPTO=1 CGO_ENABLED=0 go build -v -o /usr/local/bin/azure-npm
99FROM mcr.microsoft.com/mirror/docker/library/ubuntu:24.04 AS linux
1010COPY --from=builder /usr/local/bin/azure-npm /usr/bin/azure-npm
1111# Manually patch Ubuntu CVEs:
12- # gpgv: CVE-2025-68973 (HIGH)
13- # libc-bin: CVE-2025-15281, CVE-2026-0861, CVE-2026-0915 (MEDIUM)
14- # libc6: CVE-2025-15281, CVE-2026-0861, CVE-2026-0915 (MEDIUM)
15- # libtasn1-6: CVE-2025-13151 (MEDIUM)
12+ # gpgv: CVE-2025-68973 (HIGH)
13+ # libc-bin: CVE-2025-15281, CVE-2026-0861, CVE-2026-0915 (MEDIUM)
14+ # libc6: CVE-2025-15281, CVE-2026-0861, CVE-2026-0915 (MEDIUM)
15+ # libtasn1-6: CVE-2025-13151 (MEDIUM)
16+ # libgnutls30t64: CVE-2025-14831 (MEDIUM), CVE-2025-9820 (LOW)
1617RUN apt-get update && apt-get install -y \
1718 iptables ipset ca-certificates \
1819 gpgv=2.4.4-2ubuntu17.4 \
1920 libc-bin=2.39-0ubuntu8.7 \
2021 libc6=2.39-0ubuntu8.7 \
2122 libtasn1-6=4.19.0-3ubuntu0.24.04.2 \
23+ libgnutls30t64=3.8.3-1.1ubuntu3.5 \
2224 && apt-get autoremove -y && apt-get clean
2325RUN chmod +x /usr/bin/azure-npm
2426ENTRYPOINT ["/usr/bin/azure-npm" , "start" ]
0 commit comments