Skip to content

Commit a8870ff

Browse files
committed
fix(devcontainer-base): actually create vscode user
1 parent a96d334 commit a8870ff

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

images/devcontainer-base/Containerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,10 @@ RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
1313
--mount=type=tmpfs,dst=/tmp \
1414
/ctx/build.sh
1515

16+
RUN groupadd --gid ${GROUPID} ${USERNAME} \
17+
&& useradd --gid ${GROUPID} --uid ${USERID} -p ${USERNAME} -s /bin/bash -m ${USERNAME} \
18+
&& passwd -d ${USERNAME} \
19+
&& usermod -a -G wheel ${USERNAME}
20+
1621
WORKDIR /home/${USERNAME}
1722
USER ${USERNAME}

0 commit comments

Comments
 (0)