Skip to content

Commit ea790fe

Browse files
authored
fix: [NPM] Update Ubuntu Base Image to 24.04 (#3741)
bump ubuntu to 24.04
1 parent d044fca commit ea790fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

npm/linux.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ WORKDIR /usr/local/src
66
COPY . .
77
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
88

9-
FROM mcr.microsoft.com/mirror/docker/library/ubuntu:20.04 as linux
9+
FROM mcr.microsoft.com/mirror/docker/library/ubuntu:24.04 as linux
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 libsystemd0=255.4-1ubuntu8.8 libudev1=255.4-1ubuntu8.8 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)