Skip to content

Commit 4774f0a

Browse files
committed
use registry.redhat.io, fix version label, remove build layer
1 parent 85e51a1 commit 4774f0a

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

Dockerfile

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
1-
FROM registry.access.redhat.com/ubi8/ubi-minimal AS builder
2-
3-
RUN microdnf update -y
4-
5-
RUN microdnf install gcc glibc-devel \
6-
lua-libs make openssl openssl-devel \
7-
pcre-devel tar zlib-devel gzip redhat-rpm-config diffutils
1+
FROM registry.redhat.io/ubi8/ubi-minimal:latest
82

93
ADD scratch.repo /etc/yum/repos.d/scratch.repo
104

11-
RUN microdnf install -y haproxy22
5+
RUN microdnf update -y
126

13-
FROM --copy=builder registry.access.redhat.com/ubi8/ubi-minimal
7+
RUN microdnf install -y haproxy22
148

159
LABEL maintainer="Guillaume Abrioux <[email protected]>"
1610
LABEL com.redhat.component="haproxy-container"
1711
LABEL name="haproxy"
18-
LABEL version="2.2.19"
12+
LABEL version=2.2.19
1913
LABEL description="HAProxy container"
2014
LABEL summary="Provides HAproxy container."
2115
LABEL io.k8s.display-name="HAProxy container"

0 commit comments

Comments
 (0)