Created
February 6, 2017 18:00
-
-
Save dstroot/d302f8493e2b90cad510a06e9605601d to your computer and use it in GitHub Desktop.
This file contains 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 characters
FROM golang:1.7-alpine | |
RUN apk add --no-cache \ | |
git | |
ENV GOPATH $HOME/gocode | |
ENV PATH $GOPATH/bin:$PATH | |
COPY docker/entry.sh /docker-entrypoint | |
RUN chmod u+x /docker-entrypoint | |
RUN go get github.com/asciimoo/wuzz | |
ENTRYPOINT ["/docker-entrypoint"] |
This file contains 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 characters
#!/bin/sh | |
sleep 0.1 && exec wuzz "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is an example of a generic type Dockerfile for Go projects.