1
0
mirror of https://github.com/alrayyes/docker-alpine-hugo-git-bash synced 2023-11-14 15:56:26 +00:00

Update Dockerfile

This commit is contained in:
Ryan Kes 2017-08-15 12:00:45 +02:00 committed by GitHub
parent 003629a051
commit 3e703289e4

View File

@ -1,7 +1,7 @@
FROM alpine:latest
MAINTAINER Ryan Kes <ryan@andthensome.nl>
ENV HUGO_VERSION 0.16
ENV HUGO_VERSION 0.26
ENV HUGO_BINARY hugo_${HUGO_VERSION}_linux-64bit
# Install pygments (for syntax highlighting)
@ -10,4 +10,4 @@ RUN apk update && apk add py-pygments && apk add git && apk add bash && rm -rf /
# Download and Install hugo
ADD https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY}.tgz /usr/local/
RUN tar xzf /usr/local/${HUGO_BINARY}.tgz -C /usr/local/bin/ \
&& rm /usr/local/${HUGO_BINARY}.tgz
&& rm /usr/local/${HUGO_BINARY}.tgz