mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-11 11:25:45 +00:00
- move the ginkgo deps into test/tools which is more consitent with the other tools there, listing in dependencies always causes errors with linters - do not install it globally on the system, instead we use it in a subdir of this project Signed-off-by: Paul Holzinger <pholzing@redhat.com>
19 lines
473 B
Docker
19 lines
473 B
Docker
FROM golang
|
|
|
|
RUN mkdir -p $GOPATH/src/github.com/nxadm/tail/
|
|
ADD . $GOPATH/src/github.com/nxadm/tail/
|
|
|
|
# expecting to fetch dependencies successfully.
|
|
RUN go get -v github.com/nxadm/tail
|
|
|
|
# expecting to run the test successfully.
|
|
RUN go test -v github.com/nxadm/tail
|
|
|
|
# expecting to install successfully
|
|
RUN go install -v github.com/nxadm/tail
|
|
RUN go install -v github.com/nxadm/tail/cmd/gotail
|
|
|
|
RUN $GOPATH/bin/gotail -h || true
|
|
|
|
ENV PATH $GOPATH/bin:$PATH
|
|
CMD ["gotail"]
|