diff options
author | Emile <hanemile@protonmail.com> | 2019-10-08 18:13:07 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-10-08 18:13:07 +0200 |
commit | 88d5de0dab13a5d7f7598d2aa63bc312af5ce819 (patch) | |
tree | c921078c2cc01873a768806c4d8257bf51a7b262 /Dockerfile | |
parent | cbc8d8a61c696ec24353ad025f56d19f0fcbd7c3 (diff) |
added some dependencies fixing go vendor foo
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 3ada39a..b99d664 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,27 @@ RUN go get \ github.com/docker/docker/api/types/network \ github.com/docker/docker/api/types/container \ github.com/docker/docker/api/types/mount \ - docker.io/go-docker/api/types + #docker.io/go-docker/api/types \ + github.com/docker/go-connections/nat \ + github.com/docker/docker/api/types \ + github.com/containerd/containerd/errdefs \ + github.com/docker/distribution/reference \ + github.com/docker/distribution/registry/api/errcode \ + github.com/docker/go-units \ + github.com/gogo/protobuf/proto \ + github.com/opencontainers/go-digest \ + github.com/opencontainers/image-spec/specs-go/v1 \ + github.com/pkg/errors \ + github.com/sirupsen/logrus \ + google.golang.org/grpc/codes \ + google.golang.org/grpc/status + +# Vendor cleanup - thanks golang. +# see: https://github.com/moby/moby/issues/28269 +RUN rm -rf \ + $GOPATH/src/github.com/docker/docker/vendor \ + $GOPATH/src/github.com/docker/distribution/vendor + # Create workdir RUN mkdir /workdir |