remove hard-coded uid 1000
This commit is contained in:
parent
13da199f04
commit
61c9b3e23c
@ -1 +1 @@
|
|||||||
setowner 1000 /mounts/xqueue
|
setowner {{ APP_USER_ID }} /mounts/xqueue
|
||||||
|
|||||||
@ -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}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user