Dockerized Hugo. Entrypoint is the Hugo binary. Details on how to run here: http://www.ahmedalani.com/post/so-recursive-it-hurts/
FROM gliderlabs/alpine:latest
MAINTAINER Ahmed Alani <[email protected]>
ENV HUGO_VERSION=0.17
RUN apk add --update \
wget \
ca-certificates \
python \
python-dev \
py-pip \
bash && \
pip install pygments && \
wget https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-64bit.tar.gz && \
tar xzf hugo_${HUGO_VERSION}_linux-64bit.tar.gz && \
rm hugo_${HUGO_VERSION}_linux-64bit.tar.gz && \
mkdir -p /usr/local/bin && \
mv hugo_${HUGO_VERSION}_linux_amd64/hugo* /usr/local/bin/hugo
VOLUME /src
WORKDIR /src
ENTRYPOINT ["hugo"]
Content type
Image
Digest
Size
25.2 MB
Last updated
almost 10 years ago
docker pull alani/hugo