docker-executable-fdroidserver/Dockerfile
mendhak fd08f4d118
Install required pip dependencies. This is the same as the main builds: https://gitlab.com/fdroid/fdroidserver/-/blob/master/.gitlab-ci.yml#L128
Issue #10 - previous build was failing with an error, "babel.core.UnknownLocaleError: unknown locale 'ang'"
2021-05-22 19:09:36 +01:00

26 lines
729 B
Docker

FROM registry.gitlab.com/fdroid/ci-images-server:latest
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"]