Skip to content

Commit 4082bcd

Browse files
committed
[infra] use gcr images for devcontainers
1 parent 8facc54 commit 4082bcd

File tree

2 files changed

+25
-26
lines changed

2 files changed

+25
-26
lines changed

.devcontainer/py310/devcontainer.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
22
"name": "headless-py310",
3+
"image": "ghcr.io/stonier/streamlit_parameters:py310-poetry-bullseye",
4+
5+
// "build": {
6+
// "dockerfile": "../Dockerfile",
7+
// "args": {
8+
// "NAME": "py_trees-310",
9+
// "POETRY_VERSION": "1.8.4",
10+
// "PYTHON_VERSION": "3.10.15",
11+
// "DEBIAN_VERSION": "bookworm"
12+
// }
13+
// },
314

4-
"build": {
5-
"dockerfile": "../Dockerfile",
6-
"args": {
7-
"NAME": "py_trees-310",
8-
"POETRY_VERSION": "1.8.4",
9-
"PYTHON_VERSION": "3.10.15",
10-
"DEBIAN_VERSION": "bookworm"
11-
}
12-
},
1315
"containerEnv": {
1416
"POETRY_HTTP_BASIC_PYPI_USERNAME": "${localEnv:POETRY_HTTP_BASIC_PYPI_USERNAME}",
1517
"POETRY_HTTP_BASIC_PYPI_PASSWORD": "${localEnv:POETRY_HTTP_BASIC_PYPI_PASSWORD}"
@@ -27,7 +29,5 @@
2729
]
2830
}
2931
},
30-
"postCreateCommand": "poetry install",
31-
// "workspaceMount": "source=${localWorkspaceFolder}/../..,target=/workspaces,type=bind",
32-
// "workspaceFolder": "/workspaces"
32+
"postCreateCommand": "poetry install"
3333
}

.devcontainer/py38/devcontainer.json

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
22
"name": "headless-py38",
3+
"image": "ghcr.io/stonier/streamlit_parameters:py38-poetry-bullseye",
4+
5+
// "build": {
6+
// "dockerfile": "../Dockerfile",
7+
// "args": {
8+
// "NAME": "streamlit_parameters",
9+
// "POETRY_VERSION": "1.8.4",
10+
// "PYTHON_VERSION": "3.8.16",
11+
// "DEBIAN_VERSION": "bookworm"
12+
// },
13+
// "context": ".."
14+
// },
315

4-
"build": {
5-
"dockerfile": "../Dockerfile",
6-
"args": {
7-
"NAME": "streamlit_parameters",
8-
"POETRY_VERSION": "1.8.4",
9-
"PYTHON_VERSION": "3.8.16",
10-
"DEBIAN_VERSION": "bookworm"
11-
},
12-
"context": ".."
13-
},
1416
"containerEnv": {
1517
"POETRY_HTTP_BASIC_PYPI_USERNAME": "${localEnv:POETRY_HTTP_BASIC_PYPI_USERNAME}",
1618
"POETRY_HTTP_BASIC_PYPI_PASSWORD": "${localEnv:POETRY_HTTP_BASIC_PYPI_PASSWORD}"
@@ -31,8 +33,5 @@
3133
]
3234
}
3335
},
34-
"postCreateCommand": "poetry install",
35-
// Breaks codespaces
36-
// "workspaceMount": "source=${localWorkspaceFolder},target=/workspaces,type=bind",
37-
// "workspaceFolder": "/workspaces"
36+
"postCreateCommand": "poetry install"
3837
}

0 commit comments

Comments
 (0)