From d2f36f5d0bf05fb8b9187195074eb0f04ee7268b Mon Sep 17 00:00:00 2001 From: J2ghz Date: Sun, 2 Jul 2017 22:03:58 +0000 Subject: [PATCH] from-sdk --- Dockerfile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2025d9c..6f3212a 100644 --- a/Dockerfile +++ b/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"] \ No newline at end of file +CMD ["--help"]