diff --git a/docker/Dockerfile b/docker/Dockerfile index 0f807b69..72e3569b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,9 +1,9 @@ -FROM registry.access.redhat.com/ubi9/go-toolset:1.18.9-14 +FROM registry.access.redhat.com/ubi9/go-toolset:1.19.13-4.1697647145 COPY . . RUN go mod download -RUN go build -o ./main +RUN go build -buildvcs=false -o ./main ENV PORT 8081 EXPOSE 8081 diff --git a/go.mod b/go.mod index 49f5de16..a1289fcd 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/devfile-samples/devfile-sample-go-basic -go 1.16 +go 1.19