Base image for websites built with hugo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 483B

12345678910111213
  1. FROM debian:stretch
  2. RUN apt-get -qq update \
  3. && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y --no-install-recommends python-pygments git ca-certificates ruby \
  4. && rm -rf /var/lib/apt/lists/* \
  5. && gem install asciidoctor pygments.rb
  6. ENV HUGO_VERSION 0.59.0
  7. ENV HUGO_BINARY hugo_extended_${HUGO_VERSION}_Linux-64bit.deb
  8. ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY} /tmp/hugo.deb
  9. RUN dpkg -i /tmp/hugo.deb \
  10. && rm /tmp/hugo.deb