feat: Upgrade to the extended version of HUGO
This commit is contained in:
parent
36d1c8052f
commit
99967e91f6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user