Browse Source

fix hugo download path

pull/313/head
Max Mehl 5 months ago
parent
commit
0fd2347a49
Signed by: max.mehl <max.mehl@fsfe.org> GPG Key ID: 2704E4AB371E2E92
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Dockerfile

+ 2
- 2
Dockerfile 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


Loading…
Cancel
Save