docker-executable-fdroidserver/Dockerfile
Hans-Christoph Steiner 1efbfd9f89 Merge branch 'migrate-to-ci-images-base' into 'master'
Migrate Dockerfile to fdroid/ci-images-base

Closes #8

See merge request fdroid/docker-executable-fdroidserver!9
2022-02-15 11:29:58 +00:00

25 lines
719 B
Docker

FROM registry.gitlab.com/fdroid/ci-images-base
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
# 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"]
WORKDIR /repo
ENTRYPOINT ["../fdroidserver/fdroid"]
CMD ["--help"]