From 5a92fc040139823c7f44cab44ec4a50b3c03458a Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Sun, 1 Feb 2026 10:01:02 -0600 Subject: [PATCH] Fixed a bug in the Dockerfile with respect to the location of the dropreplace for ejr/feedkit. --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 17f76de..9e675bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,13 +16,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # Cache dependencies first COPY go.mod go.sum ./ -RUN go mod edit -dropreplace gitea.maximumdirect.net/ejr/feedkit RUN --mount=type=cache,target=/go/pkg/mod \ go mod download # Copy the rest of the source 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) # If errors, can build with: --build-arg CGO_ENABLED=1 ARG CGO_ENABLED=0