diff --git a/Dockerfile b/Dockerfile index 913160bc..773c972d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21 as builder +FROM registry.access.redhat.com/ubi9/go-toolset:1.21 as builder WORKDIR /analyzer-lsp COPY cmd /analyzer-lsp/cmd diff --git a/external-providers/generic-external-provider/Dockerfile b/external-providers/generic-external-provider/Dockerfile index bf1e3a7f..006c0851 100644 --- a/external-providers/generic-external-provider/Dockerfile +++ b/external-providers/generic-external-provider/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21 as go-builder +FROM registry.access.redhat.com/ubi9/go-toolset:1.21 as go-builder COPY / /analyzer-lsp diff --git a/external-providers/golang-dependency-provider/Dockerfile b/external-providers/golang-dependency-provider/Dockerfile index b24b8873..aca13fad 100644 --- a/external-providers/golang-dependency-provider/Dockerfile +++ b/external-providers/golang-dependency-provider/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21 as go-builder +FROM registry.access.redhat.com/ubi9/go-toolset:1.21 as go-builder copy / /analyzer-lsp diff --git a/external-providers/java-external-provider/Dockerfile b/external-providers/java-external-provider/Dockerfile index 3f8f0407..b62196e1 100644 --- a/external-providers/java-external-provider/Dockerfile +++ b/external-providers/java-external-provider/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.21 as builder +FROM registry.access.redhat.com/ubi9/go-toolset:1.21 as builder COPY / /analyzer-lsp diff --git a/external-providers/yq-external-provider/Dockerfile b/external-providers/yq-external-provider/Dockerfile index 7ef044d7..1cd14966 100644 --- a/external-providers/yq-external-provider/Dockerfile +++ b/external-providers/yq-external-provider/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20 as go-builder +FROM registry.access.redhat.com/ubi9/go-toolset:1.21 as go-builder copy / /analyzer-lsp