You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
578 B

FROM golang:1.15-alpine3.12 AS build
RUN apk add -X -X --no-cache gcc g++ musl-dev git
RUN git clone --branch v0.76.5 .
RUN go build -v --tags extended
FROM alpine:3.12
COPY --from=build /hugo/hugo /usr/bin/hugo
RUN apk add -X -X --no-cache ca-certificates libc6-compat libstdc++ git go
VOLUME /site