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