change to debian base
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
FROM homeassistant/amd64-addon-base:latest
|
||||
FROM debian:stable-slim
|
||||
|
||||
LABEL io.hass.name="MinIO"
|
||||
LABEL io.hass.description="S3-compatible object storage for HA"
|
||||
LABEL io.hass.arch="amd64|aarch64"
|
||||
LABEL io.hass.type="addon"
|
||||
LABEL io.hass.version="1.0.62"
|
||||
LABEL io.hass.version="1.0.63"
|
||||
|
||||
# Install curl and download MinIO binary
|
||||
# Install curl and jq then download MinIO binary
|
||||
# https://min.io/download#/linux
|
||||
# https://docs.min.io/docs/minio-server-quickstart-guide.html
|
||||
RUN apk add --no-cache curl \
|
||||
&& curl -fsSL https://dl.min.io/server/minio/release/linux-amd64/minio \
|
||||
-o /usr/local/bin/minio \
|
||||
&& chmod +x /usr/local/bin/minio \
|
||||
&& apk del curl
|
||||
RUN apt update && \
|
||||
apt install -y --no-install-recommends curl jq && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
curl -fsSL https://dl.min.io/server/minio/release/linux-amd64/minio \
|
||||
-o /usr/local/bin/minio && \
|
||||
chmod +x /usr/local/bin/minio
|
||||
|
||||
# Copy the script into the container
|
||||
# make it executable and run it
|
||||
|
||||
Reference in New Issue
Block a user