Browse Source

Hugo build

master
Chris Smith 5 years ago
commit
be59d86adc
1 changed files with 13 additions and 0 deletions
  1. 13
    0
      Dockerfile

+ 13
- 0
Dockerfile View File

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

Loading…
Cancel
Save