Skip to content

Commit 07d2e16

Browse files
andrewschoenbigjust
authored andcommitted
Dockerfile: updates for 5.3
Signed-off-by: Andrew Schoen <[email protected]>
1 parent eabfafe commit 07d2e16

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

.tekton/haproxy-5-3-pull-request.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
- name: revision
2525
value: '{{revision}}'
2626
- name: output-image
27-
value: quay.io/rhceph-dev/haproxy:on-pr-{{revision}}
27+
value: quay.io/rhceph-dev/haproxy:on-pr-v5.3-{{revision}}
2828
- name: image-expires-after
2929
value: 5d
3030
- name: build-platforms
@@ -554,6 +554,12 @@ spec:
554554
value: $(tasks.build-image-index.results.IMAGE_URL)
555555
- name: IMAGE_DIGEST
556556
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
557+
- name: ADDITIONAL_TAGS
558+
value:
559+
- "v5.3"
560+
- "pull-request-{{pull_request_number}}"
561+
- "from-branch-{{source_branch}}"
562+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
557563
runAfter:
558564
- build-image-index
559565
taskRef:

.tekton/haproxy-5-3-push.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
- name: revision
2424
value: '{{revision}}'
2525
- name: output-image
26-
value: quay.io/rhceph-dev/haproxy:{{revision}}
26+
value: quay.io/rhceph-dev/haproxy:v5.3-{{revision}}
2727
- name: build-platforms
2828
value:
2929
- linux/x86_64
@@ -551,6 +551,10 @@ spec:
551551
value: $(tasks.build-image-index.results.IMAGE_URL)
552552
- name: IMAGE_DIGEST
553553
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
554+
- name: ADDITIONAL_TAGS
555+
value:
556+
- "v5.3"
557+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
554558
runAfter:
555559
- build-image-index
556560
taskRef:

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9-minimal:latest
1+
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi8-minimal:latest
22

33
RUN microdnf update -y
44

55
# 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) == "linux/amd64" ]; then microdnf install -y qatengine; fi
6+
RUN microdnf install -y haproxy22
107

118
LABEL maintainer="Guillaume Abrioux <[email protected]>"
129
LABEL com.redhat.component="rhceph-haproxy-container"
1310
LABEL name="haproxy"
14-
LABEL version=2.4.22
11+
LABEL version=2.2.19
1512
LABEL description="HAProxy container"
1613
LABEL summary="Provides HAproxy container."
1714
LABEL io.k8s.display-name="HAProxy container"

0 commit comments

Comments
 (0)