Skip to content

Commit 40effd8

Browse files
authored
Upgrade to Python 3.12 (#46)
The version that comes with Ubuntu 24.04.
1 parent 0d38d34 commit 40effd8

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/docker.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
cache-from: type=registry,ref=${{ fromJSON(steps.meta_base.outputs.json).tags[1] }}
5555
cache-to: type=inline
5656
no-cache: ${{ github.event_name != 'pull_request' }}
57-
# Omit licenses label as there's no pratical way to get an accurate value for all the Ubuntu packages
57+
# Omit licenses label as there's no practical way to get an accurate value for all the Ubuntu packages
5858
# org.opencontainers.image.licenses=
5959
labels: |
6060
org.opencontainers.image.title=${{ fromJSON(steps.meta_base.outputs.json).labels['org.opencontainers.image.title'] }}
@@ -91,7 +91,7 @@ jobs:
9191
cache-from: type=registry,ref=${{ fromJSON(steps.meta_dind.outputs.json).tags[1] }}
9292
cache-to: type=inline
9393
no-cache: ${{ github.event_name != 'pull_request' }}
94-
# Omit licenses label as there's no pratical way to get an accurate value for all the Ubuntu packages
94+
# Omit licenses label as there's no practical way to get an accurate value for all the Ubuntu packages
9595
# org.opencontainers.image.licenses=
9696
labels: |
9797
org.opencontainers.image.title=${{ fromJSON(steps.meta_dind.outputs.json).labels['org.opencontainers.image.title'] }}
@@ -128,7 +128,7 @@ jobs:
128128
cache-from: type=registry,ref=${{ fromJSON(steps.meta_k8s.outputs.json).tags[1] }}
129129
cache-to: type=inline
130130
no-cache: ${{ github.event_name != 'pull_request' }}
131-
# Omit licenses label as there's no pratical way to get an accurate value for all the Ubuntu packages
131+
# Omit licenses label as there's no practical way to get an accurate value for all the Ubuntu packages
132132
# org.opencontainers.image.licenses=
133133
labels: |
134134
org.opencontainers.image.title=${{ fromJSON(steps.meta_k8s.outputs.json).labels['org.opencontainers.image.title'] }}
@@ -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.10)
142+
- name: Build and push Docker image (devcontainer-python3.12)
143143
uses: devcontainers/ci@v0.3
144144
with:
145-
subFolder: devcontainer-python3.10
146-
imageName: ghcr.io/gantsign/devcontainer-python3.10
145+
subFolder: devcontainer-python3.12
146+
imageName: ghcr.io/gantsign/devcontainer-python3.12

devcontainer-python3.10/.devcontainer/devcontainer.json renamed to devcontainer-python3.12/.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.10",
4+
"image": "mcr.microsoft.com/devcontainers/python:3.12",
55
"features": {
66
"ghcr.io/devcontainers/features/common-utils:2": {
77
"installZsh": true,

0 commit comments

Comments
 (0)