Commit 5b7a1f4b authored by Nicolas Steinmetz's avatar Nicolas Steinmetz
Browse files

Merge branch '0.78.2' into 'master'

Update Dockerfile - 0.78.2

See merge request !37
parents 720be787 ed2bb857
Pipeline #1377 passed with stage
in 20 seconds
#FROM alpine:latest AS hugo-build
FROM alpine:3.12
ENV HUGO_VERSION 0.75.1
ENV HUGO_SHA 98e157dc2eda1f78b19959ff45c8a750abd6ae12330fad6574b466efdb58bd1d
ENV HUGO_VERSION 0.78.2
ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz /tmp/${HUGO_VERSION}.tar.gz
RUN echo "${HUGO_SHA} /tmp/${HUGO_VERSION}.tar.gz" | sha256sum -c && \
tar xzf /tmp/${HUGO_VERSION}.tar.gz -C /tmp/ && \
mv /tmp/hugo /usr/bin/hugo
RUN tar xzf /tmp/${HUGO_VERSION}.tar.gz -C /tmp/ \
&& mv /tmp/hugo /usr/bin/hugo \
&& rm -rf /tmp/${HUGO_VERSION}.tar.gz
#FROM scratch
#COPY --from=hugo-build /tmp/hugo /hugo
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment