Skip to content

Commit 133b547

Browse files
w3stlinggerrymanoim
authored andcommitted
Update devcontainer
1 parent 21a0996 commit 133b547

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [Choice] Python version: 3, 3.8, 3.7, 3.6
1+
# [Choice] Python version: 3, 3.10, 3.11, 3.12
22
ARG VARIANT=3
33
FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT}
44

@@ -8,9 +8,9 @@ ARG NODE_VERSION="lts/*"
88
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
99

1010
# [Optional] If your pip requirements rarely change, uncomment this section to add them to the image.
11-
COPY etc/requirements_locked.txt /tmp/pip-tmp/
11+
COPY etc/requirements_dev.txt /tmp/pip-tmp/
1212
RUN pip3 --disable-pip-version-check --no-cache-dir install ipython \
13-
&& pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements_locked.txt \
13+
&& pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements_dev.txt \
1414
&& rm -rf /tmp/pip-tmp
1515

1616
# [Optional] Uncomment this section to install additional OS packages.

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"dockerfile": "Dockerfile",
55
"context": "..",
66
"args": {
7-
// Update 'VARIANT' to pick a Python version: 3, 3.6, 3.7, 3.8
8-
"VARIANT": "3.9",
7+
// Update 'VARIANT' to pick a Python version: 3, 3.10, 3.11, 3.12
8+
"VARIANT": "3.10",
99
// Options
1010
"INSTALL_NODE": "false",
1111
"NODE_VERSION": "lts/*"

0 commit comments

Comments
 (0)