1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-27 04:46:32 +01:00
gojekyll/Dockerfile

19 lines
363 B
Docker
Raw Normal View History

2017-07-15 23:03:27 +02:00
FROM golang:1.8.3-alpine
ADD . /go/src/github.com/osteele/gojekyll
RUN \
apk add --update gcc g++ git make python py-pip && \
pip install Pygments && \
cd $GOPATH/src/github.com/osteele/gojekyll && \
go get -v && \
make install && \
rm -rf /var/cache/apk/* && \
rm -rf $GOPATH/src/*
EXPOSE 4000
ENTRYPOINT ["/go/bin/gojekyll"]
CMD [ "--help" ]