Chris Smith 5 anni fa
commit
be59d86adc
1 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  1. 13
    0
      Dockerfile

+ 13
- 0
Dockerfile Vedi 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…
Annulla
Salva