diff options
author | Alex Auvolat <alex@adnab.me> | 2021-03-08 17:32:05 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-03-08 17:32:05 +0100 |
commit | a84f4c8f877be2f8316b49d884d5039d5e5318ed (patch) | |
tree | 31d74c0f1988e2446b210d2339b49b777f86cc24 /app/email/build/alps/Dockerfile | |
parent | b42e42faaa4db3123106d8d7342100b4681096b7 (diff) | |
download | infrastructure-a84f4c8f877be2f8316b49d884d5039d5e5318ed.tar.gz infrastructure-a84f4c8f877be2f8316b49d884d5039d5e5318ed.zip |
Use patched Alps from git.deuxfleurs.fr/Deuxfleurs/alps
Diffstat (limited to 'app/email/build/alps/Dockerfile')
-rw-r--r-- | app/email/build/alps/Dockerfile | 7 |
1 files changed, 2 insertions, 5 deletions
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 |