From 929228280a9afde84bce727de6d4bd7025d1c983 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Sun, 1 Mar 2020 13:06:51 +0100 Subject: [PATCH] Update --- Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 656b881..1aef927 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,23 +1,23 @@ -FROM golang:1.13-alpine AS build +FROM golang:1.14-alpine AS build RUN echo "" > /etc/apk/repositories && \ - echo "http://ftp.halifax.rwth-aachen.de/alpine/v3.11/main/" >> /etc/apk/repositories && \ - echo "http://ftp.halifax.rwth-aachen.de/alpine/v3.11/community/" >> /etc/apk/repositories && \ + echo "http://ftp.halifax.rwth-aachen.de/alpine/latest-stable/main/" >> /etc/apk/repositories && \ + echo "http://ftp.halifax.rwth-aachen.de/alpine/latest-stable/community/" >> /etc/apk/repositories && \ apk update && \ apk --no-cache add --no-cache gcc g++ musl-dev git WORKDIR /hugo -RUN git clone --branch v0.65.1 https://github.com/gohugoio/hugo.git . +RUN git clone --branch v0.65.3 https://github.com/gohugoio/hugo.git . RUN go build -v --tags extended -FROM golang:1.13-alpine +FROM golang:1.14-alpine COPY --from=build /hugo/hugo /usr/bin/hugo RUN echo "" > /etc/apk/repositories && \ - echo "http://ftp.halifax.rwth-aachen.de/alpine/v3.11/main/" >> /etc/apk/repositories && \ - echo "http://ftp.halifax.rwth-aachen.de/alpine/v3.11/community/" >> /etc/apk/repositories && \ + echo "http://ftp.halifax.rwth-aachen.de/alpine/latest-stable/main/" >> /etc/apk/repositories && \ + echo "http://ftp.halifax.rwth-aachen.de/alpine/latest-stable/community/" >> /etc/apk/repositories && \ apk update && \ apk --no-cache add --no-cache ca-certificates libc6-compat libstdc++ git