Last active
March 20, 2018 23:14
-
-
Save imsodin/802c50c50139cac7f67dfdf20a11c0aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM openjdk:8 | |
ENV ANDROID_HOME="/media/android-sdk" | |
ENV ANDROID_NDK_HOME="/media/android-ndk" | |
ENV GOROOT="/media/go" | |
RUN mkdir -p $ANDROID_HOME | |
RUN mkdir -p $ANDROID_NDK_HOME | |
RUN mkdir -p $GOROOT | |
VOLUME $ANDROID_HOME | |
VOLUME $ANDROID_NDK_HOME | |
VOLUME $GOROOT | |
ENV PATH="${GOROOT}/bin:${PATH}" | |
WORKDIR /syncthing-android | |
COPY . . | |
CMD syncthing/build-syncthing.bash && ./gradlew assembleDebug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment