Support host UID/GID for Docker runtime

This commit is contained in:
Dymas
2026-05-17 14:24:17 +02:00
parent 2734343904
commit 8ea43f1593
7 changed files with 64 additions and 4 deletions
+4 -1
View File
@@ -12,7 +12,9 @@ ENV DEBIAN_FRONTEND=noninteractive \
ANI_CLI_DOWNLOAD_DIR=/downloads \
ANI_CLI_WEB_HOST=0.0.0.0 \
ANI_CLI_WEB_PORT=8421 \
UPDATE_ON_START=false
UPDATE_ON_START=false \
USER_UID= \
USER_GID=
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
@@ -27,6 +29,7 @@ RUN apt-get update \
patch \
sed \
sudo \
util-linux \
&& rm -rf /var/lib/apt/lists/*
RUN git clone --depth 1 --branch "${ANI_CLI_BRANCH}" "${ANI_CLI}" /tmp/ani-cli-src \