still not able to move to jazzy
This commit is contained in:
@@ -8,10 +8,11 @@ ARG USERNAME=user
|
||||
|
||||
WORKDIR /workspaces
|
||||
|
||||
RUN groupadd --gid $USER_GID $USERNAME \
|
||||
&& useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \
|
||||
&& mkdir -p -m 0700 /run/user/"${USER_UID}" \
|
||||
&& mkdir -p -m 0700 /run/user/"${USER_UID}"/gdm \
|
||||
# Create the user with the given UID and GID
|
||||
RUN groupadd --gid $USER_GID $USERNAME
|
||||
RUN useradd --uid $USER_UID --gid $USER_GID -m $USERNAME
|
||||
RUN mkdir -p -m 0700 /run/user/"${USER_UID}"
|
||||
RUN mkdir -p -m 0700 /run/user/"${USER_UID}"/gdm \
|
||||
&& chown user:user /run/user/"${USER_UID}" \
|
||||
&& chown user:user /workspaces \
|
||||
&& chown user:user /run/user/"${USER_UID}"/gdm
|
||||
|
||||
Reference in New Issue
Block a user