Created
February 8, 2016 13:43
-
-
Save josdirksen/4b4e778df316e4d8c517 to your computer and use it in GitHub Desktop.
Revisions
-
josdirksen created this gist
Feb 8, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ FROM golang:latest COPY src/ /go/src/ COPY resources/config.json / EXPOSE 9000 # If external packages are needed, install them manually. Not needed if installed in the GOPATH RUN go get github.com/fsouza/go-dockerclient && go install github.com/fsouza/go-dockerclient RUN go get github.com/shirou/gopsutil && go install github.com/shirou/gopsutil WORKDIR src RUN go build -o /app/main github.com/josdirksen/slackproxy/slack-proxy.go CMD ["/app/main", "--config", "/config.json"]