harbor/make/photon/registry/Dockerfile.binary
MinerYang 6cdcb9663d
[cherry-pick]bump golang to 1.20.10 (#19431)
Signed-off-by: yminer <yminer@vmware.com>
2023-10-11 13:53:46 +08:00

11 lines
242 B
Docker

FROM golang:1.20.10
ENV DISTRIBUTION_DIR /go/src/github.com/docker/distribution
ENV BUILDTAGS include_oss include_gcs
ENV GO111MODULE auto
WORKDIR $DISTRIBUTION_DIR
COPY . $DISTRIBUTION_DIR
RUN CGO_ENABLED=0 make PREFIX=/go clean binaries