We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 343870f commit 0f996f3Copy full SHA for 0f996f3
Dockerfile
@@ -1,10 +1,8 @@
1
FROM golang:1.7.3 as builder
2
3
-#COPY . $GOPATH/src/github.com/staaldraad/tcpprox/
4
-RUN go get github.com/staaldraad/tcpprox
+COPY . $GOPATH/src/github.com/staaldraad/tcpprox/
5
WORKDIR $GOPATH/src/github.com/staaldraad/tcpprox/
6
7
-#RUN go build -o /go/bin/tcpprox
8
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -ldflags="-w -s" -o /go/bin/tcpprox
9
10
FROM scratch
0 commit comments