From 7a620fc860f5d6c37b3f5eb3a867309358b8ae05 Mon Sep 17 00:00:00 2001 From: Isaiah Raya Date: Tue, 17 Jun 2025 17:46:25 +0000 Subject: [PATCH] bump ubuntu to 24.04 --- npm/linux.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/npm/linux.Dockerfile b/npm/linux.Dockerfile index 1e87a6a538..eedc70375c 100644 --- a/npm/linux.Dockerfile +++ b/npm/linux.Dockerfile @@ -6,8 +6,8 @@ WORKDIR /usr/local/src COPY . . RUN CGO_ENABLED=0 go build -v -o /usr/local/bin/azure-npm -ldflags "-X main.version="$VERSION" -X "$NPM_AI_PATH"="$NPM_AI_ID"" -gcflags="-dwarflocationlists=true" npm/cmd/*.go -FROM mcr.microsoft.com/mirror/docker/library/ubuntu:20.04 as linux +FROM mcr.microsoft.com/mirror/docker/library/ubuntu:24.04 as linux 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 libsystemd0=255.4-1ubuntu8.8 libudev1=255.4-1ubuntu8.8 iptables ipset ca-certificates && apt-get autoremove -y && apt-get clean RUN chmod +x /usr/bin/azure-npm ENTRYPOINT ["/usr/bin/azure-npm", "start"]