mirror of
https://github.com/openfaas/faas.git
synced 2025-06-24 15:53:26 +00:00
Vendoring with Glide and delete function handler
This commit is contained in:
18
gateway/vendor/github.com/docker/distribution/Dockerfile
generated
vendored
Normal file
18
gateway/vendor/github.com/docker/distribution/Dockerfile
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
FROM golang:1.7-alpine
|
||||
|
||||
ENV DISTRIBUTION_DIR /go/src/github.com/docker/distribution
|
||||
ENV DOCKER_BUILDTAGS include_oss include_gcs
|
||||
|
||||
RUN set -ex \
|
||||
&& apk add --no-cache make git
|
||||
|
||||
WORKDIR $DISTRIBUTION_DIR
|
||||
COPY . $DISTRIBUTION_DIR
|
||||
COPY cmd/registry/config-dev.yml /etc/docker/registry/config.yml
|
||||
|
||||
RUN make PREFIX=/go clean binaries
|
||||
|
||||
VOLUME ["/var/lib/registry"]
|
||||
EXPOSE 5000
|
||||
ENTRYPOINT ["registry"]
|
||||
CMD ["serve", "/etc/docker/registry/config.yml"]
|
Reference in New Issue
Block a user