From a84f4c8f877be2f8316b49d884d5039d5e5318ed Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 8 Mar 2021 17:32:05 +0100 Subject: Use patched Alps from git.deuxfleurs.fr/Deuxfleurs/alps --- app/email/build/alps/Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'app/email/build/alps/Dockerfile') diff --git a/app/email/build/alps/Dockerfile b/app/email/build/alps/Dockerfile index 647d90d..04599b4 100644 --- a/app/email/build/alps/Dockerfile +++ b/app/email/build/alps/Dockerfile @@ -6,14 +6,11 @@ ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64 WORKDIR /tmp/alps RUN git init && \ - git remote add origin https://git.sr.ht/~migadu/alps && \ + git remote add origin https://git.deuxfleurs.fr/Deuxfleurs/alps.git && \ git fetch --depth 1 origin ${VERSION} && \ git checkout FETCH_HEAD -COPY skipverify.patch skipverify.patch - -RUN git apply skipverify.patch && \ - go build -a -o /usr/local/bin/alps ./cmd/alps +RUN go build -a -o /usr/local/bin/alps ./cmd/alps FROM scratch COPY --from=builder /usr/local/bin/alps /alps -- cgit v1.2.3