This commit is contained in:
Alexandre
2025-07-15 20:59:34 +02:00
parent 60145b2c25
commit 4e24d18308
2 changed files with 10 additions and 9 deletions

View File

@@ -15,7 +15,8 @@
#################
ARG BUILD_VERSION
FROM ghcr.io/ente-io/server:latest
ARG BUILD_FROM
FROM BUILD_FROM
##################
# 2 Modify Image #
@@ -37,13 +38,13 @@ RUN chmod 744 /ha_lsio.sh && \
# ---------- MinIO & tools (needed by Ente) ----------
# server binary + client (`mc`)
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends curl ca-certificates wget jq tini postgresql-client-15; \
curl -fsSL https://dl.min.io/server/minio/release/linux-amd64/minio -o /usr/local/bin/minio; \
curl -fsSL https://dl.min.io/client/mc/release/linux-amd64/mc -o /usr/local/bin/mc; \
chmod +x /usr/local/bin/minio /usr/local/bin/mc; \
apt-get clean; rm -rf /var/lib/apt/lists/*
#RUN set -eux; \
# apt-get update; \
# apt-get install -y --no-install-recommends curl ca-certificates wget jq tini postgresql-client-15; \
# curl -fsSL https://dl.min.io/server/minio/release/linux-amd64/minio -o /usr/local/bin/minio; \
# curl -fsSL https://dl.min.io/client/mc/release/linux-amd64/mc -o /usr/local/bin/mc; \
# chmod +x /usr/local/bin/minio /usr/local/bin/mc; \
# apt-get clean; rm -rf /var/lib/apt/lists/*
##################
# 3 Install apps #