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 runmymind/docker-android-sdk:feature_no-chown
|
||||||
FROM python:3
|
|
||||||
|
|
||||||
ENV ANDROID_HOME=/opt/android-sdk
|
|
||||||
COPY --from=androidsdk /opt/android-sdk-linux ${ANDROID_HOME}
|
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -yq --no-install-recommends \
|
apt-get install -y \
|
||||||
openjdk-7-jdk \
|
default-jre \
|
||||||
|
git \
|
||||||
|
libssl-dev python3-dev python3-pip libjpeg-dev zlib1g-dev \
|
||||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN git clone --depth 1 https://gitlab.com/fdroid/fdroidserver.git \
|
RUN git clone --depth 1 https://gitlab.com/fdroid/fdroidserver.git \
|
||||||
|
@ -18,4 +16,4 @@ VOLUME ["/repo"]
|
||||||
WORKDIR /repo
|
WORKDIR /repo
|
||||||
|
|
||||||
ENTRYPOINT ["fdroid"]
|
ENTRYPOINT ["fdroid"]
|
||||||
CMD ["--help"]
|
CMD ["--help"]
|
||||||
|
|
Loading…
Reference in a new issue