Skip to content

Instantly share code, notes, and snippets.

@dstroot
Created February 6, 2017 18:00
Show Gist options
  • Save dstroot/d302f8493e2b90cad510a06e9605601d to your computer and use it in GitHub Desktop.
Save dstroot/d302f8493e2b90cad510a06e9605601d to your computer and use it in GitHub Desktop.
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"]
#!/bin/sh
sleep 0.1 && exec wuzz "$@"
@dstroot
Copy link
Author

dstroot commented Feb 6, 2017

This is an example of a generic type Dockerfile for Go projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment