Skip to content

Instantly share code, notes, and snippets.

@dstroot
Created Feb 6, 2017
Embed
What would you like to do?
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