Skip to content

Commit

Permalink
Use go 1.22 for image build
Browse files Browse the repository at this point in the history
  • Loading branch information
jknipper committed May 8, 2024
1 parent e9182ce commit 927164f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.kubernikus
@@ -1,5 +1,5 @@
ARG DOCS_IMAGE=keppel.eu-de-1.cloud.sap/ccloud/kubernikus-docs-builder:latest
FROM keppel.eu-de-1.cloud.sap/ccloud-dockerhub-mirror/library/golang:1.21-alpine3.18 as builder
FROM keppel.eu-de-1.cloud.sap/ccloud-dockerhub-mirror/library/golang:1.22-alpine3.18 as builder
WORKDIR /app
RUN apk add --no-cache make bash git curl gcc musl-dev
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.kubernikus-binaries
@@ -1,4 +1,4 @@
FROM keppel.eu-de-1.cloud.sap/ccloud-dockerhub-mirror/library/golang:1.21-alpine3.18 as builder
FROM keppel.eu-de-1.cloud.sap/ccloud-dockerhub-mirror/library/golang:1.22-alpine3.18 as builder
RUN apk add --no-cache make git curl bash gcc musl-dev
WORKDIR /app
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Expand Up @@ -2,6 +2,8 @@ module github.com/sapcc/kubernikus

go 1.22.0

toolchain go1.22.2

require (
dario.cat/mergo v1.0.0
github.com/BurntSushi/toml v1.3.2
Expand Down

0 comments on commit 927164f

Please sign in to comment.