Skip to content

Commit

Permalink
upgrade to golang:1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislusf committed Jun 22, 2024
1 parent ac9177e commit 344d379
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions cmd/seaweedfs-csi-driver/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM golang:1.21-alpine as builder
# Can be removed at golang 1.20
ENV CGO_CFLAGS=-fno-stack-protector
FROM golang:1.22-alpine as builder

RUN apk add git g++

Expand Down
5 changes: 2 additions & 3 deletions cmd/seaweedfs-csi-driver/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM golang:1.21-alpine as builder
# Can be removed at golang 1.20
ENV CGO_CFLAGS=-fno-stack-protector
FROM golang:1.22-alpine as builder

RUN apk add git g++

RUN mkdir -p /go/src/github.com/seaweedfs/
Expand Down

0 comments on commit 344d379

Please sign in to comment.