# TODO: a golang docker build exmaple is provided by default, remove this if it is not applicable to your service
# Build the manager binary
FROM golang:1.15 as builder

WORKDIR /workspace

# Copy the go source
COPY . .

# TODO: uncomment and build your binary
# Build
# RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o YOUR_BIN main.go

FROM alpine:3.10
WORKDIR /

# TODO: uncomment and add your binary to the final image
# COPY --from=builder /workspace/YOUR_BIN .

USER 65532:65532

ENTRYPOINT ["/manager"]
