mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 12:51:16 +00:00
persist go cache in docker build image
This commit is contained in:
parent
0b34de48a0
commit
067946a5bf
1 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,9 @@ ENV ANDROID_NDK_HOME ${ANDROID_HOME}/ndk-bundle
|
||||||
# Enable prebuild mode
|
# Enable prebuild mode
|
||||||
ENV SYNCTHING_ANDROID_PREBUILT 1
|
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)
|
# Run prebuild script (will prebuild stuff into the image if env var is set)
|
||||||
ADD prebuild.sh /opt/prebuild.sh
|
ADD prebuild.sh /opt/prebuild.sh
|
||||||
RUN /opt/prebuild.sh
|
RUN /opt/prebuild.sh
|
||||||
|
|
Loading…
Reference in a new issue