Skip to content

Commit 4da99bc

Browse files
committed
Upgrade base image from Ubuntu 20.04 to 22.04
1 parent 4e6e44c commit 4da99bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 1.) build helm-whatup from source (because there is no binary release for linux/arm64)
22

3-
FROM --platform=$BUILDPLATFORM golang:1.22-bookworm AS buildwhatup
3+
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22-bookworm AS buildwhatup
44

55
ENV WHATUP_SOURCE_URL=https://github.com/fabmation-gmbh/helm-whatup/archive/refs/tags/v0.6.3.tar.gz
66

@@ -21,15 +21,15 @@ RUN echo "Will run build with environment: GOOS=$GOOS GOARCH=$GOARCH" && make bu
2121

2222
# 2.) get latest version of helm
2323

24-
FROM --platform=$TARGETPLATFORM ubuntu:20.04 AS gethelm
24+
FROM --platform=$TARGETPLATFORM docker.io/library/ubuntu:22.04 AS gethelm
2525

2626
RUN apt-get update && apt-get install -y curl git && rm -rf /var/lib/apt/lists/*
2727

2828
RUN curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
2929

3030
# 3.) build actual container image
3131

32-
FROM --platform=$TARGETPLATFORM ubuntu:20.04
32+
FROM --platform=$TARGETPLATFORM docker.io/library/ubuntu:22.04
3333

3434
RUN apt-get update && apt-get install -y jq bsdmainutils msmtp && rm -rf /var/lib/apt/lists/*
3535

0 commit comments

Comments
 (0)