Skip to content

Commit 1a66d5b

Browse files
committed
dont change home
1 parent 884605a commit 1a66d5b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/githubactions/Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,9 @@ RUN requested_uid=1001 \
1111
&& current_uid="$(id -u vscode)" \
1212
&& current_gid="$(id -g vscode)" \
1313
&& if [ "${current_gid}" != "${requested_gid}" ]; then groupmod -g "${requested_gid}" vscode; fi \
14-
&& if [ "${current_uid}" != "${requested_uid}" ]; then usermod -u "${requested_uid}" -g "${requested_gid}" vscode; fi \
15-
&& mkdir -p /github \
16-
&& usermod -d /github/home -m vscode \
17-
&& chown -R vscode:vscode /github/home
14+
&& if [ "${current_uid}" != "${requested_uid}" ]; then usermod -u "${requested_uid}" -g "${requested_gid}" vscode; fi
1815

19-
ENV PATH="/github/home/.asdf/shims/:/github/home/.guard/bin/:$PATH:/root_path_mod"
2016
USER vscode
21-
ENV PATH="/github/home/.asdf/shims/:/github/home/.guard/bin/:$PATH:/vscode_path_mod"
17+
ENV PATH="/home/vscode/.asdf/shims/:/home/vscode/.guard/bin/:$PATH:/vscode_path_mod"
18+
ENV ASDF_DATA_DIR=/home/vscode/.asdf
2219
USER root

0 commit comments

Comments
 (0)