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.