csi-driver/Dockerfile

13 lines
209 B
Docker

FROM golang:1.21-bookworm
ARG GOPROXY
WORKDIR /workspace
COPY . .
ENV GOPROXY=${GOPROXY:-https://proxy.golang.org}
RUN make build
RUN chmod u+x /workspace/bin/manager
ENTRYPOINT ["/workspace/bin/manager"]