support devcontainer on macbook m-series

due to package discrepancies we need to install an extra python-dev package
for python3.9. Once we can build the image we would like to have the images
built by github actions as well.
devcontainer/macbook-mseries
Nils Dijk 2025-01-28 23:14:15 +01:00
parent 7b6a828c74
commit 629619b74c
2 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,7 @@ RUN apt update && apt install -y \
zlib1g-dev \
&& add-apt-repository ppa:deadsnakes/ppa -y \
&& apt install -y \
python3.9-dev \
python3.9-full \
# software properties pulls in pkexec, which makes the debugger unusable in vscode
&& apt purge -y \

View File

@ -27,6 +27,9 @@ jobs:
tags: |
type=ref,event=branch
type=sha
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
@ -41,6 +44,7 @@ jobs:
name: Build and push
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context: "{{defaultContext}}:.devcontainer"
push: true
tags: ${{ steps.meta.outputs.tags }}