Skip to content
Snippets Groups Projects
Commit 21ac4fe0 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Fix Dockerfile

parent 9cf351ed
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,9 @@ ENV HUGO_SHA fbf8ca850aaaaad331f5b40bbbe8e797115dab296a8486a53c0561f253ca7b00
# Install HUGO
RUN set -x && \
apk add --update openssl ca-certificates git && \
wget -O ${HUGO_VERSION}.tar.gz https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz
echo "${HUGO_SHA} ${HUGO_VERSION}.tar.gz" | sha256sum -c
tar xf ${HUGO_VERSION}.tar.gz && mv hugo* /usr/bin/hugo
wget -O ${HUGO_VERSION}.tar.gz https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \
echo "${HUGO_SHA} ${HUGO_VERSION}.tar.gz" | sha256sum -c && \
tar xf ${HUGO_VERSION}.tar.gz && mv hugo* /usr/bin/hugo && \
rm -r ${HUGO_VERSION}.tar.gz && \
rm /var/cache/apk/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment