File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11# Build the manager binary
2- FROM golang:1.19 as builder
2+ FROM golang:1.20.2 as builder
33
44WORKDIR /workspace
55# Copy the Go Modules manifests
@@ -18,8 +18,10 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o manager
1818# Use distroless as minimal base image to package the manager binary
1919# Refer to https://github.com/GoogleContainerTools/distroless for more details
2020# FROM gcr.io/distroless/static:latest
21- # FROM ubuntu
2221FROM alpine:3.17
22+ RUN addgroup -S spectro
23+ RUN adduser -S -D -h / spectro spectro
24+ USER spectro
2325WORKDIR /
2426COPY --from=builder /workspace/manager .
2527ENTRYPOINT ["/manager" ]
Original file line number Diff line number Diff line change 11module github.com/spectrocloud/cluster-api-provider-vsphere-static-ip
22
3- go 1.19
3+ go 1.20
44
55require (
66 github.com/ghodss/yaml v1.0.0
You can’t perform that action at this time.
0 commit comments