remove hard-coded uid 1000
Some checks failed
Run tests / tests (3.12) (push) Has been cancelled
Run tests / tests (3.9) (push) Has been cancelled
Sync with private repo / sync (push) Has been cancelled

This commit is contained in:
Florian du Garage Num 2025-09-30 21:48:26 +02:00
parent 13da199f04
commit 61c9b3e23c
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
setowner 1000 /mounts/xqueue setowner {{ APP_USER_ID }} /mounts/xqueue

View File

@ -21,7 +21,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
RUN ln -s /usr/bin/python3 /usr/bin/python RUN ln -s /usr/bin/python3 /usr/bin/python
###### Git-clone xqueue repo ###### ###### Git-clone xqueue repo ######
ARG APP_USER_ID=1000 ARG APP_USER_ID={{ HOST_USER_ID }}
RUN useradd --home-dir /openedx --create-home --shell /bin/bash --uid ${APP_USER_ID} app RUN useradd --home-dir /openedx --create-home --shell /bin/bash --uid ${APP_USER_ID} app
USER ${APP_USER_ID} USER ${APP_USER_ID}