From fa362e48a668b9e8d74d631e6c78b4da6f695b13 Mon Sep 17 00:00:00 2001 From: thelamer Date: Tue, 8 Oct 2019 12:43:27 -0700 Subject: [PATCH] workaround to keep pipeline building --- Dockerfile | 2 ++ Dockerfile.aarch64 | 2 ++ Dockerfile.armhf | 2 ++ 3 files changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 007edcd..bc15e61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,8 @@ echo "**** fetch source code ****" && \ /tmp/sync --strip-components=1 && \ echo "**** compile syncthing ****" && \ cd /tmp/sync && \ + rm -f go.sum && \ + go clean -modcache && \ CGO_ENABLED=0 go run build.go \ -no-upgrade \ -version=${SYNCTHING_RELEASE} \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index ae88524..8152ed5 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -29,6 +29,8 @@ echo "**** fetch source code ****" && \ /tmp/sync --strip-components=1 && \ echo "**** compile syncthing ****" && \ cd /tmp/sync && \ + rm -f go.sum && \ + go clean -modcache && \ CGO_ENABLED=0 go run build.go \ -no-upgrade \ -version=${SYNCTHING_RELEASE} \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index dcb4f2f..04d2889 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -29,6 +29,8 @@ echo "**** fetch source code ****" && \ /tmp/sync --strip-components=1 && \ echo "**** compile syncthing ****" && \ cd /tmp/sync && \ + rm -f go.sum && \ + go clean -modcache && \ CGO_ENABLED=0 go run build.go \ -no-upgrade \ -version=${SYNCTHING_RELEASE} \