diff --git a/test/test_images/helloworld/Dockerfile b/test/test_images/helloworld/Dockerfile index 5aa9bd403..76bbfdb62 100644 --- a/test/test_images/helloworld/Dockerfile +++ b/test/test_images/helloworld/Dockerfile @@ -10,8 +10,7 @@ WORKDIR /app COPY ./test/test_images/helloworld/ . # Build the binary. -# -mod=readonly ensures immutable go.mod and go.sum in container builds. -RUN CGO_ENABLED=0 GOOS=linux go build -mod=readonly -v -o server +RUN CGO_ENABLED=0 GOOS=linux go build -v -o server # Use the official Alpine image for a lean production container. # https://hub.docker.com/_/alpine