We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e82db9 commit 244a0caCopy full SHA for 244a0ca
Dockerfile
@@ -3,12 +3,16 @@ ARG release_tag=0.0.0
3
ARG ARCH=amd64
4
ARG OS=linux
5
6
-FROM docker.io/golang:1.24 AS builder
+FROM registry.access.redhat.com/ubi10/go-toolset:1.24 AS builder
7
ARG quay_expiration
8
ARG release_tag
9
ARG ARCH
10
ARG OS
11
12
+# Switching to root user, since default users is 1001,
13
+# which prohibits copying from `/tmp` during make build cmd
14
+USER root
15
+
16
# Build the preflight binary
17
COPY . /go/src/preflight
18
WORKDIR /go/src/preflight
0 commit comments