We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd0655b + f0aafa2 commit 45a4e4aCopy full SHA for 45a4e4a
run-docker.sh
@@ -102,6 +102,7 @@ SCRIPTPATH=$(dirname "$SCRIPT")
102
: ${FINN_SINGULARITY=""}
103
: ${FINN_SKIP_XRT_DOWNLOAD=""}
104
: ${FINN_XRT_PATH=""}
105
+: ${FINN_DOCKER_NO_CACHE="0"}
106
107
DOCKER_INTERACTIVE=""
108
@@ -190,6 +191,10 @@ if [ -d "$FINN_XRT_PATH" ];then
190
191
export LOCAL_XRT=1
192
fi
193
194
+if [ "$FINN_DOCKER_NO_CACHE" = "1" ]; then
195
+ FINN_DOCKER_BUILD_EXTRA+="--no-cache "
196
+fi
197
+
198
# Build the FINN Docker image
199
if [ "$FINN_DOCKER_PREBUILT" = "0" ] && [ -z "$FINN_SINGULARITY" ]; then
200
# Need to ensure this is done within the finn/ root folder:
0 commit comments