This commit is contained in:
J2ghz 2017-07-02 22:03:58 +00:00
parent 47d9471b13
commit d2f36f5d0b

View file

@ -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"]