From f0967ed5d61bb5c25b0498cd91a031b2442535c7 Mon Sep 17 00:00:00 2001 From: "Christopher L. Crutchfield" Date: Tue, 26 Nov 2024 20:41:11 -0800 Subject: [PATCH] fix: support apple silicon --- .devcontainer/Dockerfile | 1 + .devcontainer/compose.yaml | 4 ---- .devcontainer/devcontainer.json | 3 ++- 3 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 .devcontainer/Dockerfile delete mode 100644 .devcontainer/compose.yaml diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..945b6d2 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1 @@ +FROM --platform=linux/amd64 ghcr.io/ucsd-e4e/aid-audio-sim:latest \ No newline at end of file diff --git a/.devcontainer/compose.yaml b/.devcontainer/compose.yaml deleted file mode 100644 index 2a277ee..0000000 --- a/.devcontainer/compose.yaml +++ /dev/null @@ -1,4 +0,0 @@ -services: - some-service-only-as-amd64: - platform: linux/amd64 - image: ghcr.io/ucsd-e4e/aid-audio-sim \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 686ab48..5264600 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,6 @@ { - "dockerComposeFile": "compose.yaml", + "build": { "dockerfile": "Dockerfile" }, + // "image": "ghcr.io/ucsd-e4e/aid-audio-sim:latest", "postCreateCommand": "pip install -r requirements.txt", "customizations": { "vscode": {