blog/hugo.Dockerfile
d3vyce 66299beef5
All checks were successful
Build Hugo Docker Image / build docker (push) Successful in 5m27s
Build Blog Docker Image / build docker (push) Successful in 1m12s
bump: hugo/blowfish version
2024-03-30 17:52:00 +01:00

11 lines
230 B
Docker

FROM golang:1.22-alpine AS build
ARG CGO=1
ENV CGO_ENABLED=${CGO}
ENV GOOS=linux
ENV GO111MODULE=on
RUN apk update && \
apk add --no-cache gcc musl-dev g++ git
RUN go install -tags extended github.com/gohugoio/hugo@v0.124.1