jlelse
/
docker-hugo
Archived
1
Fork 0

Compare commits

...

9 Commits

Author SHA1 Message Date
Jan-Lukas Else 0b5c2dd5f9 Update 2020-10-22 16:47:47 +02:00
Jan-Lukas Else db2ee35c75 Update 2020-10-12 17:17:45 +02:00
Jan-Lukas Else adfdf06efe Update 2020-09-14 13:33:10 +02:00
Jan-Lukas Else b279f582c1 Update 2020-07-23 20:04:40 +02:00
Jan-Lukas Else c48ebe103d Update 2020-07-22 21:29:24 +02:00
Jan-Lukas Else 1f546daf00 Update 2020-07-15 23:04:31 +02:00
Jan-Lukas Else 135c3c4b0b Update 2020-06-23 20:51:54 +02:00
Jan-Lukas Else 5aca4299d4 Update 2020-05-31 17:00:14 +02:00
Jan-Lukas Else f09749a3db Update 2020-05-19 12:10:10 +02:00
1 changed files with 5 additions and 5 deletions

View File

@ -1,17 +1,17 @@
FROM golang:1.14-alpine3.11 AS build
FROM golang:1.15-alpine3.12 AS build
RUN apk add -X http://ftp.halifax.rwth-aachen.de/alpine/latest-stable/main/ -X http://ftp.halifax.rwth-aachen.de/alpine/latest-stable/community/ --no-cache gcc g++ musl-dev git
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.69.2 https://github.com/gohugoio/hugo.git .
RUN git clone --branch v0.76.5 https://github.com/gohugoio/hugo.git .
RUN go build -v --tags extended
FROM alpine:3.11
FROM alpine:3.12
COPY --from=build /hugo/hugo /usr/bin/hugo
RUN apk add -X http://ftp.halifax.rwth-aachen.de/alpine/latest-stable/main/ -X http://ftp.halifax.rwth-aachen.de/alpine/latest-stable/community/ --no-cache ca-certificates libc6-compat libstdc++ git go
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 ca-certificates libc6-compat libstdc++ git go
VOLUME /site
WORKDIR /site