github.com/aminjam/goflat@v0.4.1-0.20160331105230-ec639fc0d5b3/Dockerfile (about) 1 FROM golang:alpine 2 MAINTAINER Amin Jams <aminjam.software@gmail.com> 3 4 RUN apk update && apk add git bash 5 6 RUN go get github.com/aminjam/goflat/cmd/goflat 7 RUN echo "$(goflat --version)" 8 9 CMD ["bash"] 10 11 # e.g. 12 # docker run -it aminjam/goflat bash -c 'export EXP=/go/src/github.com/aminjam/goflat/.examples; goflat -t $EXP/template.xml -i $EXP/inputs/private.go -i $EXP/inputs/repos.go'