Skip to content

Commit

Permalink
support devcontainer on macbook m-series
Browse files Browse the repository at this point in the history
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.
Nils Dijk committed Jan 28, 2025
1 parent 7b6a828 commit 629619b
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
4 changes: 4 additions & 0 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 629619b

Please sign in to comment.