Remove Hugo version from builds (use latest).

This commit is contained in:
jeff 2020-06-13 11:57:18 -07:00
parent 696731b1b5
commit 5bd75b2203
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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