fix stupid mistake

This commit is contained in:
Dominic Breuker committed 2018-03-12 08:58:01 +01:00
1 parent 0e5d2ed39e
commit 67590d8216
3 files changed
+3 -6

No files matched your search

+3 -1
View File
@@ -9,8 +9,10 @@ COPY cmd /go/src/github.com/dominicbreuker/pspy/cmd
COPY internal /go/src/github.com/dominicbreuker/pspy/internal
COPY vendor /go/src/github.com/dominicbreuker/pspy/vendor
# build executable
# run tests
WORKDIR /go/src/github.com/dominicbreuker/pspy
RUN go test ./...
# build executable
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags '-extldflags "-static"' -o bin/pspy main.go
### Prepare integration test ###