mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-11-24 06:21:15 +01:00
* go.mod: Vendor coreos/go-iptables 0.4.5 * go.mod: Vendor containernetworking/plugins v0.8.0 * Update implementation to work with libcni 0.8.0 * go.mod: Vendor containernetworking/plugins v0.9.0
20 lines
473 B
Docker
20 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"]
|