All checks were successful
docker-build / Build image (push) Successful in 48s
20 lines
664 B
Docker
20 lines
664 B
Docker
ARG RELEASE=RELEASE.2025-10-17T06-17-41Z.hotfix.5aa526582
|
|
FROM quay.io/minio/aistor/minio:${RELEASE} AS minio
|
|
|
|
FROM python:3.13-alpine AS patcher
|
|
RUN apk add openssl
|
|
WORKDIR /patcher
|
|
COPY requirements.txt requirements.txt
|
|
RUN pip3 install -r requirements.txt
|
|
COPY . .
|
|
COPY --from=minio /bin/minio minio
|
|
RUN sh generate-keys.sh
|
|
RUN python3 replace-key.py minio minio-patched new-public.pem
|
|
RUN python3 generate-license.py new-private.pem minio.license
|
|
|
|
FROM quay.io/minio/aistor/minio:${RELEASE}
|
|
COPY --from=patcher /patcher/minio-patched /bin/minio
|
|
RUN chmod +x /bin/minio
|
|
COPY --from=patcher /patcher/minio.license /minio.license
|
|
ENV MINIO_LICENSE=/minio.license
|