diff --git a/cmd/seaweedfs-csi-driver/Dockerfile b/cmd/seaweedfs-csi-driver/Dockerfile index 33d2d17..73086a2 100644 --- a/cmd/seaweedfs-csi-driver/Dockerfile +++ b/cmd/seaweedfs-csi-driver/Dockerfile @@ -1,4 +1,6 @@ FROM golang:1.19-alpine as builder +# Can be removed at golang 1.20 +ENV CGO_CFLAGS=-fno-stack-protector RUN apk add git g++ diff --git a/cmd/seaweedfs-csi-driver/Dockerfile.dev b/cmd/seaweedfs-csi-driver/Dockerfile.dev index 0cfd28c..ea7f8d0 100644 --- a/cmd/seaweedfs-csi-driver/Dockerfile.dev +++ b/cmd/seaweedfs-csi-driver/Dockerfile.dev @@ -1,4 +1,6 @@ FROM golang:1.19-alpine as builder +# Can be removed at golang 1.20 +ENV CGO_CFLAGS=-fno-stack-protector RUN apk add git g++ RUN mkdir -p /go/src/github.com/chrislusf/