mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 09:38:09 +01:00
c77b387c53
Signed-off-by: wang yan <wangyan@vmware.com>
10 lines
225 B
Docker
10 lines
225 B
Docker
FROM golang:1.11
|
|
|
|
ENV DISTRIBUTION_DIR /go/src/github.com/docker/distribution
|
|
ENV DOCKER_BUILDTAGS include_oss include_gcs
|
|
|
|
WORKDIR $DISTRIBUTION_DIR
|
|
COPY . $DISTRIBUTION_DIR
|
|
|
|
RUN CGO_ENABLED=0 make PREFIX=/go clean binaries
|