Permalink
Browse files

Simplify build

  • Loading branch information...
holic committed Jun 25, 2015
1 parent d6f9bac commit a5175ba91d5c6cc0464dce5fbc013024e78c48f5
Showing with 2 additions and 4 deletions.
  1. +1 −1 Dockerfile
  2. +0 −2 artifacts/.gitignore
  3. +1 −1 circle.yml
View
@@ -1,3 +1,3 @@
FROM scratch
-COPY artifacts/server /server
+COPY server /
ENTRYPOINT ["/server"]
View
@@ -1,2 +0,0 @@
-*
-!.gitignore
View
@@ -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.