We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4756278 + 5297a6b commit f3dc049Copy full SHA for f3dc049
1 file changed
Dockerfile
@@ -22,6 +22,10 @@ WORKDIR $REMOTE_SOURCE_DIR/$REMOTE_SOURCE_SUBDIR
22
USER root
23
RUN mkdir -p ${DEST_ROOT}/usr/local/bin/
24
25
+# Remove go.work - not needed for the build and may reference a Go version
26
+# from the CI environment that is higher than the build image provides
27
+RUN rm -f go.work go.work.sum
28
+
29
# cache deps before building and copying source so that we don't need to re-download as much
30
# and so that source changes don't invalidate our downloaded layer
31
RUN if [ ! -f $CACHITO_ENV_FILE ]; then go mod download ; fi
0 commit comments