feat: Upgrade to the extended version of HUGO

This commit is contained in:
Nikolai Rodionov 2023-09-29 10:20:35 +02:00
parent 36d1c8052f
commit 99967e91f6
No known key found for this signature in database
GPG Key ID: 906851F91B1DA3EF

View File

@ -6,7 +6,7 @@ RUN apt-get update -y && apt-get install tar -y
ENV RUST_LOG=info
ARG HUGO_VERSION=0.119.0
ARG HUGO_OUTPUT=/tmp/hugo.tar.gz
RUN dudo -l "https://github.com/gohugoio/hugo/releases/download/v{{ version }}/hugo_{{ version }}_{{ os }}-{{ arch }}.tar.gz" -d $HUGO_OUTPUT -p $HUGO_VERSION
RUN dudo -l "https://github.com/gohugoio/hugo/releases/download/v{{ version }}/hugo_extended_{{ version }}_{{ os }}-{{ arch }}.tar.gz" -d $HUGO_OUTPUT -p $HUGO_VERSION
RUN tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT
RUN mkdir /out && mv /tmp/hugo /out/hugo
RUN chmod +x /out/hugo