We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 83a2ea8 + 0181335 commit 862f94aCopy full SHA for 862f94a
3 files changed
Dockerfile
@@ -1,7 +1,7 @@
1
FROM flynn/busybox
2
MAINTAINER Jeff Lindsay <progrium@gmail.com>
3
4
-ADD ./build/logspout /bin/logspout
+ADD ./stage/logspout /bin/logspout
5
6
ENV DOCKER unix:///tmp/docker.sock
7
ENV ROUTESPATH /mnt/routes
Makefile
@@ -1,9 +1,13 @@
-build/container: build/logspout Dockerfile
+build/container: stage/logspout Dockerfile
docker build --no-cache -t logspout .
touch build/container
build/logspout: *.go
- go build -o build/logspout
+ GOOS=linux GOARCH=amd64 go build -o build/logspout
+
8
+stage/logspout: build/logspout
9
+ mkdir -p stage
10
+ cp build/logspout stage/logspout
11
12
release:
13
docker tag logspout progrium/logspout
stage/logspout
7.13 MB
0 commit comments