Base image for websites built with hugo
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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