2021-01-11 19:11:11 +01:00
|
|
|
FROM registry.gitlab.com/fdroid/ci-images-base
|
2017-07-02 13:53:46 +02:00
|
|
|
|
2017-09-08 09:33:25 +02:00
|
|
|
COPY signing-key.asc /
|
|
|
|
|
|
|
|
RUN gpg --import /signing-key.asc
|
|
|
|
|
2017-07-02 13:53:46 +02:00
|
|
|
RUN git clone --depth 1 https://gitlab.com/fdroid/fdroidserver.git \
|
|
|
|
&& cd fdroidserver \
|
2021-05-22 20:09:36 +02:00
|
|
|
&& pip3 install --upgrade babel pip setuptools \
|
2018-04-04 20:48:43 +02:00
|
|
|
&& pip3 install --no-binary python-vagrant -e . \
|
|
|
|
&& python3 setup.py compile_catalog build \
|
2017-07-02 13:53:46 +02:00
|
|
|
&& python3 setup.py install
|
|
|
|
|
2018-04-04 20:48:43 +02:00
|
|
|
# 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/*
|
|
|
|
|
2017-07-02 13:53:46 +02:00
|
|
|
VOLUME ["/repo"]
|
|
|
|
WORKDIR /repo
|
|
|
|
|
2017-09-29 19:48:26 +02:00
|
|
|
ENTRYPOINT ["../fdroidserver/fdroid"]
|
2017-07-03 00:03:58 +02:00
|
|
|
CMD ["--help"]
|