Skip to content
Permalink
Browse files

persist go cache in docker build image

  • Loading branch information...
imsodin committed Sep 5, 2019
1 parent 0b34de4 commit 345452a38ce7bbb6b20aca8c077af727bde7edd0
Showing with 3 additions and 0 deletions.
  1. +3 −0 docker/Dockerfile
@@ -34,6 +34,9 @@ ENV ANDROID_NDK_HOME ${ANDROID_HOME}/ndk-bundle
# Enable prebuild mode
ENV SYNCTHING_ANDROID_PREBUILT 1

# Set location of go cache
ENV GOCACHE /opt/gocache

# Run prebuild script (will prebuild stuff into the image if env var is set)
ADD prebuild.sh /opt/prebuild.sh
RUN /opt/prebuild.sh

0 comments on commit 345452a

Please sign in to comment.
You can’t perform that action at this time.