Skip to content

Commit 7d32533

Browse files
andrewschoenGitHub Enterprise
authored andcommitted
Merge pull request #2 from ceph/haproxy_build_issue#974
Build haproxy container in one-pipeline
2 parents 1150519 + b60b849 commit 7d32533

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM registry.redhat.io/ubi9/ubi-minimal:latest
1+
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9-minimal:latest
22

33
RUN microdnf update -y
44

55
# If you edit this version number, edit it here *and* the LABEL below:
66
RUN microdnf install -y haproxy && rpm -q haproxy-2.4.22
77

88
# Only install qatengine package when building on x86_64 arch.
9-
RUN if [ $(uname --hardware-platform) == "x86_64" ]; then microdnf install -y qatengine; fi
9+
RUN if [ $(uname --hardware-platform) == "linux/amd64" ]; then microdnf install -y qatengine; fi
1010

1111
LABEL maintainer="Guillaume Abrioux <[email protected]>"
1212
LABEL com.redhat.component="rhceph-haproxy-container"

0 commit comments

Comments
 (0)