We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2191684 commit b2512ebCopy full SHA for b2512eb
.devcontainer/Dockerfile
@@ -11,4 +11,12 @@ RUN mkdir -p ${HOME} && \
11
groupadd --gid ${GID} vscode && \
12
useradd --uid ${UID} --gid ${GID} --home ${HOME} vscode && \
13
chown -R ${UID}:${GID} /home/vscode
14
+
15
+# Move pyenv installation
16
+ENV PYENV_ROOT="${HOME}/.pyenv"
17
+ENV PATH="$PYENV_ROOT/bin:$PYENV_ROOT/shims:${PATH}"
18
+RUN mv /root/.pyenv /home/vscode/.pyenv && \
19
+ chown -R vscode:vscode /home/vscode/.pyenv
20
21
+# Set user
22
USER ${UID}:${GID}
0 commit comments