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.
2 parents 1150519 + b60b849 commit 7d32533Copy full SHA for 7d32533
Dockerfile
@@ -1,12 +1,12 @@
1
-FROM registry.redhat.io/ubi9/ubi-minimal:latest
+FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9-minimal:latest
2
3
RUN microdnf update -y
4
5
# If you edit this version number, edit it here *and* the LABEL below:
6
RUN microdnf install -y haproxy && rpm -q haproxy-2.4.22
7
8
# Only install qatengine package when building on x86_64 arch.
9
-RUN if [ $(uname --hardware-platform) == "x86_64" ]; then microdnf install -y qatengine; fi
+RUN if [ $(uname --hardware-platform) == "linux/amd64" ]; then microdnf install -y qatengine; fi
10
11
LABEL maintainer="Guillaume Abrioux <[email protected]>"
12
LABEL com.redhat.component="rhceph-haproxy-container"
0 commit comments