jlelse
/
docker-hugo
Archived
1
Fork 0
This commit is contained in:
Jan-Lukas Else 2020-09-14 13:33:10 +02:00
parent b279f582c1
commit adfdf06efe
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
FROM golang:1.14-alpine3.12 AS build
FROM golang:1.15-alpine3.12 AS build
RUN apk add -X http://dl-cdn.alpinelinux.org/alpine/v3.12/main/ -X http://dl-cdn.alpinelinux.org/alpine/v3.12/community/ --no-cache gcc g++ musl-dev git
WORKDIR /hugo
RUN git clone --branch v0.74.3 https://github.com/gohugoio/hugo.git .
RUN git clone --branch v0.75.0 https://github.com/gohugoio/hugo.git .
RUN go build -v --tags extended
FROM alpine:3.12