Public Repository

Last pushed: 9 months ago
Short Description
Dockerized Hugo
Full Description

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 <ahmed.k.alani@gmail.com>

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"]
Docker Pull Command
Owner
alani

Comments (0)