Update container for latest F-Droid Server and include more essential binaries

This commit is contained in:
Alexander Schlarb 2018-04-04 20:48:43 +02:00
parent 91e262d960
commit 1ab3ee8b5d

View file

@ -1,3 +1,4 @@
FROM registry.gitlab.com/fdroid/ci-images-server:latest FROM registry.gitlab.com/fdroid/ci-images-server:latest
COPY signing-key.asc / COPY signing-key.asc /
@ -6,9 +7,17 @@ RUN gpg --import /signing-key.asc
RUN git clone --depth 1 https://gitlab.com/fdroid/fdroidserver.git \ RUN git clone --depth 1 https://gitlab.com/fdroid/fdroidserver.git \
&& cd fdroidserver \ && cd fdroidserver \
&& pip3 install -e . \ && pip3 install --no-binary python-vagrant -e . \
&& python3 setup.py compile_catalog build \
&& python3 setup.py install && python3 setup.py install
# Install additional utilities required by actual builds (list subject to future expansion)
RUN apt-get update && apt-get install --yes \
patch \
autoconf libtool pkg-config \
gradle ant \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
VOLUME ["/repo"] VOLUME ["/repo"]
WORKDIR /repo WORKDIR /repo