mirror of
https://github.com/k8snetworkplumbingwg/whereabouts.git
synced 2025-06-03 06:42:26 +00:00
adds dockerfile
This commit is contained in:
parent
a07ae520c2
commit
bf1ed78834
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
FROM golang:1.11
|
||||
ADD . /usr/src/whereabouts
|
||||
RUN mkdir -p $GOPATH/src/github.com/dougbtv/whereabouts
|
||||
WORKDIR $GOPATH/src/github.com/dougbtv/whereabouts
|
||||
COPY . .
|
||||
RUN ./hack/build-go.sh
|
||||
|
||||
FROM alpine:latest
|
||||
COPY --from=0 /go/src/github.com/dougbtv/whereabouts/bin/whereabouts .
|
Loading…
Reference in New Issue
Block a user