From fc9644b910f3fd5d61a2e237d4554e5a96290197 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Tue, 4 Feb 2025 09:35:33 +1100 Subject: [PATCH] Support x64 containers from arm64 host --- .devcontainer/test-alpine-x64-python/Dockerfile | 2 +- .devcontainer/test-alpine-x64/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/test-alpine-x64-python/Dockerfile b/.devcontainer/test-alpine-x64-python/Dockerfile index ef607d38713..ba0f8332193 100644 --- a/.devcontainer/test-alpine-x64-python/Dockerfile +++ b/.devcontainer/test-alpine-x64-python/Dockerfile @@ -1,4 +1,4 @@ -FROM amd64/python:3.11-alpine +FROM --platform=linux/amd64 python:3.11-alpine RUN apk add gcc libc-dev linux-headers musl-dev zlib zlib-dev python3-dev curl RUN python -m pip install ipykernel RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \ diff --git a/.devcontainer/test-alpine-x64/Dockerfile b/.devcontainer/test-alpine-x64/Dockerfile index 55c7695cdc2..b59b67d1a3b 100644 --- a/.devcontainer/test-alpine-x64/Dockerfile +++ b/.devcontainer/test-alpine-x64/Dockerfile @@ -1,4 +1,4 @@ -FROM amd64/alpine +FROM --platform=linux/amd64 alpine RUN apk add curl RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \ -t powerlevel10k/powerlevel10k \