mirror of https://github.com/citusdata/citus.git
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
parent
7b6a828c74
commit
629619b74c
|
@ -35,6 +35,7 @@ RUN apt update && apt install -y \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
&& add-apt-repository ppa:deadsnakes/ppa -y \
|
&& add-apt-repository ppa:deadsnakes/ppa -y \
|
||||||
&& apt install -y \
|
&& apt install -y \
|
||||||
|
python3.9-dev \
|
||||||
python3.9-full \
|
python3.9-full \
|
||||||
# software properties pulls in pkexec, which makes the debugger unusable in vscode
|
# software properties pulls in pkexec, which makes the debugger unusable in vscode
|
||||||
&& apt purge -y \
|
&& apt purge -y \
|
||||||
|
|
|
@ -27,6 +27,9 @@ jobs:
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=sha
|
type=sha
|
||||||
|
-
|
||||||
|
name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
|
@ -41,6 +44,7 @@ jobs:
|
||||||
name: Build and push
|
name: Build and push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
context: "{{defaultContext}}:.devcontainer"
|
context: "{{defaultContext}}:.devcontainer"
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|
Loading…
Reference in New Issue