|
@@ -7,14 +7,13 @@ RUN apt-get -qq update \
|
7
|
7
|
&& DEBIAN_FRONTEND=noninteractive apt-get -qq install -y --no-install-recommends python-pygments git ca-certificates asciidoc \
|
8
|
8
|
&& rm -rf /var/lib/apt/lists/*
|
9
|
9
|
|
10
|
|
-ENV HUGO_VERSION 0.26
|
|
10
|
+ENV HUGO_VERSION 0.53
|
11
|
11
|
ENV HUGO_BINARY hugo_${HUGO_VERSION}_Linux-64bit.deb
|
12
|
12
|
|
13
|
13
|
ADD https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY} /tmp/hugo.deb
|
14
|
14
|
RUN dpkg -i /tmp/hugo.deb \
|
15
|
15
|
&& rm /tmp/hugo.deb
|
16
|
16
|
|
17
|
|
-USER nobody:nogroup
|
18
|
17
|
ADD site /tmp/site
|
19
|
18
|
RUN hugo -b https://www.chameth.com/ -v -s /tmp/site -d /tmp/hugo && \
|
20
|
19
|
cp /tmp/hugo/index.xml /tmp/hugo/feed.xml
|