Skip to content
Permalink
Browse files
Simplify build
  • Loading branch information
holic committed Jun 25, 2015
1 parent d6f9bac commit a5175ba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
@@ -1,3 +1,3 @@
FROM scratch
COPY artifacts/server /server
COPY server /
ENTRYPOINT ["/server"]

This file was deleted.

@@ -5,7 +5,7 @@ machine:
test:
override:
- docker run -v $PWD:/tmp/redirect.name -w /tmp/redirect.name golang:1.4 go test
- docker run -v $PWD:/tmp/redirect.name -w /tmp/redirect.name -e CGO_ENABLED=0 golang:1.4 go build -a -installsuffix cgo -o artifacts/server
- docker run -v $PWD:/tmp/redirect.name -w /tmp/redirect.name -e CGO_ENABLED=0 golang:1.4 go build -a -installsuffix cgo -o server
- docker build -t holic/redirect.name .

deployment:

0 comments on commit a5175ba

Please sign in to comment.