fix hugo download path

lektura
max.mehl 2019-03-09 18:23:54 +01:00
parent 5486ed7340
commit 0fd2347a49
No known key found for this signature in database
GPG Key ID: 2704E4AB371E2E92
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
FROM php:7-apache
ENV HUGO_VERSION 0.54
ENV HUGO_VERSION 0.54.0
ENV HUGO_BINARY hugo_${HUGO_VERSION}_Linux-64bit.deb
RUN apt-get update && apt-get upgrade -y && \
@ -8,7 +8,7 @@ RUN apt-get update && apt-get upgrade -y && \
RUN a2enmod rewrite
ADD https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY} /tmp/hugo.deb
ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY} /tmp/hugo.deb
RUN dpkg -i /tmp/hugo.deb && \
rm /tmp/hugo.deb