mirror of
https://gitlab.com/fdroid/docker-executable-fdroidserver.git
synced 2025-01-15 18:52:21 +01:00
Merge branch 'master' into 'master'
Fix F-Droid Server build and include some essential build utilities See merge request fdroid/docker-executable-fdroidserver!4
This commit is contained in:
commit
51ec41783b
2 changed files with 11 additions and 2 deletions
11
Dockerfile
11
Dockerfile
|
@ -1,3 +1,4 @@
|
|||
|
||||
FROM registry.gitlab.com/fdroid/ci-images-server:latest
|
||||
|
||||
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 \
|
||||
&& cd fdroidserver \
|
||||
&& pip3 install -e . \
|
||||
&& 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
|
||||
|
||||
|
|
|
@ -7,5 +7,5 @@ Android SDK with this image, you'll need to mount your own local copy.
|
|||
It can be run using:
|
||||
|
||||
```console
|
||||
$ docker run --rm -v $(pwd):/repo registry.gitlab.com/fdroid/docker-executable-fdroidserver:latest
|
||||
$ docker run --rm -u $(id -u):$(id -g) -v $(pwd):/repo registry.gitlab.com/fdroid/docker-executable-fdroidserver:latest
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue