ARG BASE_IMAGE FROM ${BASE_IMAGE:-golang:1.22} ARG REPO_NAME ARG REPO_SHA WORKDIR /app # Download Go modules COPY go.mod ./ RUN go mod download COPY *.go ./ RUN CGO_ENABLED=0 GOOS=linux go build -o /fluxfeed EXPOSE 8080 LABEL io.runcible.repo-name="${REPO_NAME}" \ io.runcible.repo-sha="${REPO_SHA}" CMD ["/fluxfeed"]