From 07ac676a0ddd29f93b77f507b6e30f81d8addef9 Mon Sep 17 00:00:00 2001 From: FestplattenSchnitzel Date: Sun, 20 Feb 2022 13:44:14 +0100 Subject: [PATCH] Install fdroidserver from git using pip --- Dockerfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5af32d3..139199a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,12 +4,8 @@ COPY signing-key.asc / RUN gpg --import /signing-key.asc -RUN git clone --depth 1 https://gitlab.com/fdroid/fdroidserver.git \ - && cd fdroidserver \ - && pip3 install --upgrade babel pip setuptools \ - && pip3 install --no-binary python-vagrant -e . \ - && python3 setup.py compile_catalog build \ - && python3 setup.py install +RUN python3 -m pip install --upgrade pip wheel setuptools \ + && python3 -m pip install git+https://gitlab.com/fdroid/fdroidserver.git # Install additional utilities required by actual builds (list subject to future expansion) # build-tools 32.0.0 is needed for a good apksigner @@ -23,5 +19,5 @@ RUN apt-get update && apt-get install --yes \ VOLUME ["/repo"] WORKDIR /repo -ENTRYPOINT ["../fdroidserver/fdroid"] +ENTRYPOINT ["/usr/local/bin/fdroid"] CMD ["--help"]