Commit 31f89e4c authored by ale's avatar ale
Browse files

Build gostatic separately

parent 4bcc633e
Pipeline #16232 failed with stages
in 1 minute and 26 seconds
# Debian bullseye can't build gostatic due to its strict dependency
# on Go 1.16, so we build it separately.
FROM golang:1.16 AS gobuild
RUN go get
FROM debian:bullseye AS build
RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get -qy install --no-install-recommends rsync git golang ca-certificates
ADD . /src
COPY --from=gobuild /go/bin/gostatic /usr/bin/gostatic
RUN ./scripts/ && ./scripts/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment