Skip to content

Commit 9aa1f43

Browse files
harshavardhanaprakashsvmxbexsoft
authored
move to UBI micro image (#2684)
Co-authored-by: Prakash Senthil Vel <23444145+prakashsvmx@users.noreply.github.com> Co-authored-by: Alex <33497058+bexsoft@users.noreply.github.com>
1 parent bf89f09 commit 9aa1f43

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

Dockerfile.release

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

3-
ARG TAG
3+
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
46

5-
COPY CREDITS /licenses/CREDITS
6-
COPY LICENSE /licenses/LICENSE
7+
FROM registry.access.redhat.com/ubi8/ubi-micro:8.7
8+
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
715

816
LABEL name="MinIO" \
917
vendor="MinIO Inc <dev@min.io>" \
@@ -13,10 +21,6 @@ LABEL name="MinIO" \
1321
summary="A graphical user interface for MinIO" \
1422
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."
1523

16-
RUN \
17-
microdnf update --nodocs && \
18-
microdnf install ca-certificates --nodocs
19-
2024
EXPOSE 9090
2125
COPY console /console
2226

0 commit comments

Comments
 (0)