Skip to content

Instantly share code, notes, and snippets.

@imsodin imsodin/Dockerfile
Last active Mar 20, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.