From 81681327ffcf935a8a8d1d6c61b0952bd60184c1 Mon Sep 17 00:00:00 2001 From: jeff Date: Sat, 13 Jun 2020 19:24:09 +0000 Subject: [PATCH] Remove Hugo version from builds (use latest). (#19) Remove Hugo version from builds (use latest). Reviewed-by: steverusso --- Dockerfile.dev | 2 +- Dockerfile.prod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.dev b/Dockerfile.dev index c4c45ce..86076c3 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -6,7 +6,7 @@ WORKDIR /src # Get hugo -- using the edge branch to get latest version RUN sed -i -e 's/v[[:digit:]]\..*\//edge\//g' /etc/apk/repositories RUN apk update && apk upgrade && \ - apk add --no-cache hugo=0.71.1-r0 + apk add --no-cache hugo # Run the development server ENTRYPOINT hugo server --bind 0.0.0.0 diff --git a/Dockerfile.prod b/Dockerfile.prod index 50336d3..37eb3ad 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -8,7 +8,7 @@ COPY . /src/ # Get hugo -- using the edge branch to get latest version RUN sed -i -e 's/v[[:digit:]]\..*\//edge\//g' /etc/apk/repositories RUN apk update && apk upgrade && \ - apk add --no-cache hugo=0.71.1-r0 + apk add --no-cache hugo RUN hugo --minify