This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
ARG RELEASE=RELEASE.2025-10-17T06-17-41Z
|
||||
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
|
||||
Reference in New Issue
Block a user