Update Dockerfile to set ownership on rootfs copy

Change ownership of copied files to user with ID 212.
This commit is contained in:
Alexandre
2025-12-18 15:03:02 +01:00
committed by GitHub
parent 7529a307fd
commit aafbc88a38

View File

@@ -30,7 +30,7 @@ ENV READ_WRITE_FOLDERS="$READ_WRITE_FOLDERS $NETALERTX_DATA"
##################
# Add rootfs
COPY rootfs/ /
COPY --chown=212:212 rootfs/ /
RUN BASHIO_VERSION="0.14.3" && \
mkdir -p /tmp/bashio && \
curl -f -L -s -S "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" | tar -xzf - --strip 1 -C /tmp/bashio && \