Skip to content

Commit 604f35f

Browse files
authored
Upgrade to Python 3.10 (#43)
The version that comes with Ubuntu 22.04.
1 parent 3a1163b commit 604f35f

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ jobs:
139139
org.opencontainers.image.created=${{ fromJSON(steps.meta_k8s.outputs.json).labels['org.opencontainers.image.created'] }}
140140
org.opencontainers.image.revision=${{ fromJSON(steps.meta_k8s.outputs.json).labels['org.opencontainers.image.revision'] }}
141141
142-
- name: Build and push Docker image (devcontainer-python3.9)
142+
- name: Build and push Docker image (devcontainer-python3.10)
143143
uses: devcontainers/ci@v0.3
144144
with:
145-
subFolder: devcontainer-python3.9
146-
imageName: ghcr.io/gantsign/devcontainer-python3.9
145+
subFolder: devcontainer-python3.10
146+
imageName: ghcr.io/gantsign/devcontainer-python3.10

README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ FROM ghcr.io/gantsign/devcontainer-k8s
369369
Then press `Ctrl-P` and select "Remote-Containers: Open Folder in Container..."
370370
from the menu.
371371

372-
== Python 3.9 container
372+
== Python 3.10 container
373373

374374
Unlike the other containers this isn't based on the base container.
375375

@@ -407,7 +407,7 @@ If you just want to try it out, you can run it standalone:
407407

408408
[source,bash]
409409
----
410-
docker run --rm -ti --user vscode --entrypoint zsh ghcr.io/gantsign/devcontainer-python3.9
410+
docker run --rm -ti --user vscode --entrypoint zsh ghcr.io/gantsign/devcontainer-python3.10
411411
----
412412

413413
=== Running in VS Code
@@ -420,7 +420,7 @@ Create a `.devcontainer/devcontainer.json` file in the root of your project:
420420
// For format details, see https://aka.ms/devcontainer.json
421421
{
422422
"name": "GantSign",
423-
"image": "ghcr.io/gantsign/devcontainer-python3.9",
423+
"image": "ghcr.io/gantsign/devcontainer-python3.10",
424424
425425
"settings": {
426426
"editor.renderWhitespace": "all",

devcontainer-python3.9/.devcontainer/devcontainer.json renamed to devcontainer-python3.10/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
22
// README at: https://github.com/devcontainers/templates/tree/main/src/python
33
{
4-
"image": "mcr.microsoft.com/devcontainers/python:0-3.9",
4+
"image": "mcr.microsoft.com/devcontainers/python:0-3.10",
55
"features": {
66
"ghcr.io/devcontainers/features/common-utils:2": {
77
"installZsh": true,

0 commit comments

Comments
 (0)