Skip to content

Commit c55ab9f

Browse files
committed
Fix devcontainer setup
- Update Python to 3.9. - Remove postStartCommand. User will be required to follow all of the commands from the contributing documentation inside the container.
1 parent b451018 commit c55ab9f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "Python 3",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/python:0-3.8",
6+
"image": "mcr.microsoft.com/devcontainers/python:0-3.9",
77
"customizations": {
88
"vscode": {
99
"extensions": [
@@ -17,7 +17,7 @@
1717
"ghcr.io/devcontainers-contrib/features/poetry:2": {
1818
"version": "latest"
1919
}
20-
},
20+
}
2121

2222
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2323
// "forwardPorts": [],
@@ -27,7 +27,6 @@
2727
// file is copied in, preventing access to ansys-common-variableinterop for me. This
2828
// has the side-effect of running it every time you start the container, which
2929
// might not be what we want?
30-
"postStartCommand": "git config --list && poetry -vv install -E dev"
3130

3231
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
3332
// "remoteUser": "root"

0 commit comments

Comments
 (0)