-
Notifications
You must be signed in to change notification settings - Fork 455
/
Dockerfile
27 lines (19 loc) · 1.13 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest as build
RUN microdnf update -y --nodocs && microdnf install ca-certificates -y --nodocs
FROM registry.access.redhat.com/ubi9/ubi-micro:latest
ARG TAG
LABEL name="MinIO" \
vendor="MinIO Inc <[email protected]>" \
maintainer="MinIO Inc <[email protected]>" \
version="${TAG}" \
release="${TAG}" \
summary="MinIO Operator brings native support for MinIO and Encryption to Kubernetes." \
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."
# On RHEL the certificate bundle is located at:
# - /etc/pki/tls/certs/ca-bundle.crt (RHEL 6)
# - /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem (RHEL 7)
COPY --from=build /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /etc/pki/ca-trust/extracted/pem/
COPY CREDITS /licenses/CREDITS
COPY LICENSE /licenses/LICENSE
COPY minio-operator /minio-operator
ENTRYPOINT ["/minio-operator"]