mirror of
https://github.com/danog/gojekyll.git
synced 2024-11-26 21:34:45 +01:00
19 lines
359 B
Docker
19 lines
359 B
Docker
FROM golang:1.8.3-alpine
|
|
|
|
ADD . /go/src/github.com/danog/gojekyll
|
|
|
|
RUN \
|
|
apk add --update gcc g++ git make python py-pip && \
|
|
pip install Pygments && \
|
|
cd $GOPATH/src/github.com/danog/gojekyll && \
|
|
go get -v && \
|
|
make install && \
|
|
rm -rf /var/cache/apk/* && \
|
|
rm -rf $GOPATH/src/*
|
|
|
|
EXPOSE 4000
|
|
|
|
ENTRYPOINT ["/go/bin/gojekyll"]
|
|
|
|
CMD [ "--help" ]
|