mirror of
https://gitlab.com/fdroid/docker-executable-fdroidserver.git
synced 2025-01-15 18:52:21 +01:00
from-sdk
This commit is contained in:
parent
47d9471b13
commit
d2f36f5d0b
1 changed files with 6 additions and 8 deletions
14
Dockerfile
14
Dockerfile
|
@ -1,12 +1,10 @@
|
|||
FROM runmymind/docker-android-sdk AS androidsdk
|
||||
FROM python:3
|
||||
|
||||
ENV ANDROID_HOME=/opt/android-sdk
|
||||
COPY --from=androidsdk /opt/android-sdk-linux ${ANDROID_HOME}
|
||||
FROM runmymind/docker-android-sdk:feature_no-chown
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -yq --no-install-recommends \
|
||||
openjdk-7-jdk \
|
||||
apt-get install -y \
|
||||
default-jre \
|
||||
git \
|
||||
libssl-dev python3-dev python3-pip libjpeg-dev zlib1g-dev \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN git clone --depth 1 https://gitlab.com/fdroid/fdroidserver.git \
|
||||
|
@ -18,4 +16,4 @@ VOLUME ["/repo"]
|
|||
WORKDIR /repo
|
||||
|
||||
ENTRYPOINT ["fdroid"]
|
||||
CMD ["--help"]
|
||||
CMD ["--help"]
|
||||
|
|
Loading…
Reference in a new issue