diff --git a/Dockerfile.base b/Dockerfile.base index c0330219..34ae7a87 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -3,9 +3,14 @@ FROM registry.access.redhat.com/ubi8/go-toolset:1.19.13-2.1698062273 as builder WORKDIR /workspace + + COPY go.mod go.mod COPY go.sum go.sum + + + RUN go mod download COPY main.go main.go