commit c32810e67b5e775807d18547c78aa3f4392e801f Author: J2ghz Date: Sun Jul 2 13:53:46 2017 +0200 Add Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2025d9c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +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} + +RUN apt-get update && \ + apt-get install -yq --no-install-recommends \ + openjdk-7-jdk \ + && apt-get clean && rm -rf /var/lib/apt/lists/* + +RUN git clone --depth 1 https://gitlab.com/fdroid/fdroidserver.git \ + && cd fdroidserver \ + && pip3 install -e . \ + && python3 setup.py install + +VOLUME ["/repo"] +WORKDIR /repo + +ENTRYPOINT ["fdroid"] +CMD ["--help"] \ No newline at end of file