mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Add "update-vendor.sh" script and vendor our current deps (minus Docker, since that'd make a circle)
Also, updated .travis.yml to use the new "vendor" directory (since this is pretty pointless without that :D) Signed-off-by: Andrew Page <admwiggin@gmail.com>
This commit is contained in:
+5
-3
@@ -1,6 +1,6 @@
|
||||
FROM crosbymichael/golang
|
||||
|
||||
RUN apt-get update && apt-get install -y gcc
|
||||
RUN apt-get update && apt-get install -y gcc make
|
||||
RUN go get code.google.com/p/go.tools/cmd/cover
|
||||
|
||||
# setup a playground for us to spawn containers in
|
||||
@@ -14,8 +14,10 @@ COPY . /go/src/github.com/docker/libcontainer
|
||||
WORKDIR /go/src/github.com/docker/libcontainer
|
||||
RUN cp sample_configs/minimal.json /busybox/container.json
|
||||
|
||||
ENV GOPATH $GOPATH:/go/src/github.com/docker/libcontainer/vendor
|
||||
|
||||
RUN go get -d -v ./...
|
||||
RUN go install -v ./...
|
||||
RUN make direct-install
|
||||
|
||||
ENTRYPOINT ["/dind"]
|
||||
CMD ["go", "test", "-cover", "./..."]
|
||||
CMD ["make", "direct-test"]
|
||||
|
||||
Reference in New Issue
Block a user