Skip to content

Commit 1158a49

Browse files
committed
update dockerfile
1 parent 07961f4 commit 1158a49

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Dockerfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
# Build the manager binary
22
FROM registry.access.redhat.com/ubi9/go-toolset:1.23 AS builder
33

4-
ARG TARGETOS
5-
ARG TARGETARCH
4+
ARG TARGETOS TARGETARCH
5+
6+
USER root
7+
8+
# Install system dependencies
9+
RUN dnf upgrade -y && dnf install -y \
10+
gcc \
11+
make \
12+
openssl-devel \
13+
git \
14+
&& dnf clean all && rm -rf /var/cache/yum
615

716
WORKDIR /workspace
817
# Copy the Go Modules manifests

0 commit comments

Comments
 (0)