|
@@ -2,17 +2,7 @@
|
2
|
2
|
## Step 1 - add content and build with Hugo
|
3
|
3
|
##
|
4
|
4
|
|
5
|
|
-FROM debian:stretch as hugo
|
6
|
|
-RUN apt-get -qq update \
|
7
|
|
- && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y --no-install-recommends python-pygments git ca-certificates asciidoc \
|
8
|
|
- && rm -rf /var/lib/apt/lists/*
|
9
|
|
-
|
10
|
|
-ENV HUGO_VERSION 0.53
|
11
|
|
-ENV HUGO_BINARY hugo_${HUGO_VERSION}_Linux-64bit.deb
|
12
|
|
-
|
13
|
|
-ADD https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY} /tmp/hugo.deb
|
14
|
|
-RUN dpkg -i /tmp/hugo.deb \
|
15
|
|
- && rm /tmp/hugo.deb
|
|
5
|
+FROM r.c5h.io/hugo as hugo
|
16
|
6
|
|
17
|
7
|
ADD site /tmp/site
|
18
|
8
|
RUN hugo -b https://www.chameth.com/ -v -s /tmp/site -d /tmp/hugo && \
|