Skip to content

Commit

Permalink
Update devcontainer.json (#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
naa0yama authored Jan 18, 2025
1 parent 40bd9da commit 0c2b2c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ ARG PIP_DEFAULT_TIMEOUT=100 \
PYTHONFAULTHANDLER=1 \
PYTHONHASHSEED=random \
PYTHONUNBUFFERED=1 \
DEBIAN_FRONTEND=noninteractive \
\
POETRY_VERSION=1.8.2
DEBIAN_FRONTEND=noninteractive

ENV TZ=Asia/Tokyo

Expand Down Expand Up @@ -59,6 +57,6 @@ RUN set -eux && \
USER vscode
ENV PATH $PATH:/home/vscode/.local/bin
RUN set -eux && \
pip install --user "poetry==${POETRY_VERSION}" && \
pip install --user "poetry==$(grep -oP '(?<=poetry\s).+' .tool-versions)" && \
pip install --user poetry-dynamic-versioning && \
type poetry
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@
}
},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "vscode"
"remoteUser": "vscode",
"updateRemoteUserUID": true
}

0 comments on commit 0c2b2c1

Please sign in to comment.