Skip to content

Commit 7d9910d

Browse files
authored
update docker file to ubi9 base image (#3109)
This commit improves and updates the docker file to the UBI 9 base image. Signed-off-by: Andreas Auernhammer <github@aead.dev>
1 parent 7a63f6d commit 7d9910d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Dockerfile.release

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1-
FROM --platform=linux/amd64 registry.access.redhat.com/ubi8/ubi-minimal:8.7 as build
1+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.2 as build
22

33
RUN microdnf update --nodocs && microdnf install ca-certificates --nodocs
4-
RUN curl -s -q https://raw.githubusercontent.com/minio/kes/master/LICENSE -o LICENSE
5-
RUN curl -s -q https://raw.githubusercontent.com/minio/kes/master/CREDITS -o CREDITS
64

7-
FROM registry.access.redhat.com/ubi8/ubi-micro:8.7
5+
FROM registry.access.redhat.com/ubi9/ubi-micro:9.2
86

9-
# On RHEL the certificate bundle is located at:
10-
# - /etc/pki/tls/certs/ca-bundle.crt (RHEL 6)
11-
# - /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem (RHEL 7)
12-
COPY --from=build /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /etc/pki/ca-trust/extracted/pem/
13-
COPY --from=build LICENSE /LICENSE
14-
COPY --from=build CREDITS /CREDITS
7+
ARG TAG
158

169
LABEL name="MinIO" \
1710
vendor="MinIO Inc <dev@min.io>" \
@@ -21,7 +14,14 @@ LABEL name="MinIO" \
2114
summary="A graphical user interface for MinIO" \
2215
description="MinIO object storage is fundamentally different. Designed for performance and the S3 API, it is 100% open-source. MinIO is ideal for large, private cloud environments with stringent security requirements and delivers mission-critical availability across a diverse range of workloads."
2316

24-
EXPOSE 9090
17+
# On RHEL the certificate bundle is located at:
18+
# - /etc/pki/tls/certs/ca-bundle.crt (RHEL 6)
19+
# - /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem (RHEL 7)
20+
COPY --from=build /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /etc/pki/ca-trust/extracted/pem/
21+
COPY LICENSE /LICENSE
22+
COPY CREDITS /CREDITS
2523
COPY console /console
2624

25+
EXPOSE 9090
26+
2727
ENTRYPOINT ["/console"]

0 commit comments

Comments
 (0)