still not able to move to jazzy

This commit is contained in:
2025-02-23 09:34:19 +09:00
parent 87d18065c0
commit f4ab56616b
5 changed files with 9 additions and 8 deletions

View File

@@ -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