Fixed a bug in the Dockerfile with respect to the location of the dropreplace for ejr/feedkit.
Some checks failed
ci/woodpecker/manual/build-image Pipeline failed

This commit is contained in:
2026-02-01 10:01:02 -06:00
parent f522840fed
commit 5a92fc0401

View File

@@ -16,13 +16,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Cache dependencies first # Cache dependencies first
COPY go.mod go.sum ./ COPY go.mod go.sum ./
RUN go mod edit -dropreplace gitea.maximumdirect.net/ejr/feedkit
RUN --mount=type=cache,target=/go/pkg/mod \ RUN --mount=type=cache,target=/go/pkg/mod \
go mod download go mod download
# Copy the rest of the source # Copy the rest of the source
COPY . . COPY . .
# Remove local dev replaces that don't exist in container context
RUN go mod edit -dropreplace gitea.maximumdirect.net/ejr/feedkit
# Default to a static build (no CGO) # Default to a static build (no CGO)
# If errors, can build with: --build-arg CGO_ENABLED=1 # If errors, can build with: --build-arg CGO_ENABLED=1
ARG CGO_ENABLED=0 ARG CGO_ENABLED=0