From 7e1bfa83b61aa7b90fab51b1b0ac062714e77473 Mon Sep 17 00:00:00 2001 From: Jan Kantert Date: Wed, 16 Oct 2024 12:09:09 +0200 Subject: [PATCH] update go and alpine in build/ci --- .github/workflows/test.yml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fdd0602c..a0abb715 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: '1.22' + go-version: '1.23' cache-dependency-path: | go.sum go.sum diff --git a/Dockerfile b/Dockerfile index 4e116660..066953cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.22 as builder +FROM golang:1.23 as builder ARG VERSION=undefined @@ -19,7 +19,7 @@ COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -a -o wave -ldflags="-X main.VERSION=${VERSION}" ./cmd/manager # Copy the controller-manager into a thin image -FROM alpine:3.11 +FROM alpine:3.20 RUN apk --no-cache add ca-certificates WORKDIR /bin COPY --from=builder /go/src/github.com/wave-k8s/wave/wave .