Skip to content

Commit

Permalink
Upgrade to Python 3.10 (#43)
Browse files Browse the repository at this point in the history
The version that comes with Ubuntu 22.04.
  • Loading branch information
freemanjp authored Nov 16, 2024
1 parent 3a1163b commit 604f35f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ jobs:
org.opencontainers.image.created=${{ fromJSON(steps.meta_k8s.outputs.json).labels['org.opencontainers.image.created'] }}
org.opencontainers.image.revision=${{ fromJSON(steps.meta_k8s.outputs.json).labels['org.opencontainers.image.revision'] }}
- name: Build and push Docker image (devcontainer-python3.9)
- name: Build and push Docker image (devcontainer-python3.10)
uses: devcontainers/[email protected]
with:
subFolder: devcontainer-python3.9
imageName: ghcr.io/gantsign/devcontainer-python3.9
subFolder: devcontainer-python3.10
imageName: ghcr.io/gantsign/devcontainer-python3.10
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ FROM ghcr.io/gantsign/devcontainer-k8s
Then press `Ctrl-P` and select "Remote-Containers: Open Folder in Container..."
from the menu.

== Python 3.9 container
== Python 3.10 container

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

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

[source,bash]
----
docker run --rm -ti --user vscode --entrypoint zsh ghcr.io/gantsign/devcontainer-python3.9
docker run --rm -ti --user vscode --entrypoint zsh ghcr.io/gantsign/devcontainer-python3.10
----

=== Running in VS Code
Expand All @@ -420,7 +420,7 @@ Create a `.devcontainer/devcontainer.json` file in the root of your project:
// For format details, see https://aka.ms/devcontainer.json
{
"name": "GantSign",
"image": "ghcr.io/gantsign/devcontainer-python3.9",
"image": "ghcr.io/gantsign/devcontainer-python3.10",
"settings": {
"editor.renderWhitespace": "all",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"image": "mcr.microsoft.com/devcontainers/python:0-3.9",
"image": "mcr.microsoft.com/devcontainers/python:0-3.10",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
Expand Down

0 comments on commit 604f35f

Please sign in to comment.