mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Update dockerfile for running tests
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@docker.com> (github: crosbymichael)
This commit is contained in:
+3
-2
@@ -3,6 +3,7 @@ FROM crosbymichael/golang
|
||||
RUN apt-get update && apt-get install -y gcc
|
||||
|
||||
ADD . /go/src/github.com/docker/libcontainer
|
||||
RUN cd /go/src/github.com/docker/libcontainer && go get -d ./... && go install ./...
|
||||
WORKDIR /go/src/github.com/docker/libcontainer
|
||||
RUN go get -d ./... && go install ./...
|
||||
|
||||
CMD ["nsinit"]
|
||||
CMD ["go", "test", "./..."]
|
||||
|
||||
Reference in New Issue
Block a user