diff --git a/Dockerfile.rhel7 b/Dockerfile.rhel7 index f7c7f814..d91aeba3 100644 --- a/Dockerfile.rhel7 +++ b/Dockerfile.rhel7 @@ -11,7 +11,11 @@ COPY go.sum go.sum # since we use vendoring we don't need to redownload our dependencies every time. Instead we can simply # reuse our vendored directory and verify everything is good. If not we can abort here and ask for a revendor. COPY vendor vendor/ -RUN go mod verify + +# TODO(jkyros): go mod verify talks to the internet to check hashes, and it breaks in our disconnected +# build environment without access to the go proxy. Maybe there is a mod cache or something we can make +# it use in the build environment, but until then, turn it off. +# RUN go mod verify # Copy the go source COPY cmd/main.go cmd/main.go