Improve devcontainer behaviour on ARM Macs (#1707)

* Remove hardcoded amd64 images. This slows down development on ARM Macs significantly.

* Do not use prebuilt bench image as it may be outdated or not available as an ARM build.
The source image is in this repo anyway.

* Use the prebuilt image by default.
This commit is contained in:
Niklas Liechti
2025-09-23 10:00:48 +02:00
committed by GitHub
parent 0c59c8475c
commit 8b523ca125

View File

@@ -2,7 +2,6 @@ version: "3.7"
services:
mariadb:
image: docker.io/mariadb:10.6
platform: linux/amd64
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
@@ -38,15 +37,14 @@ services:
redis-cache:
image: docker.io/redis:alpine
platform: linux/amd64
redis-queue:
image: docker.io/redis:alpine
platform: linux/amd64
frappe:
image: docker.io/frappe/bench:latest
platform: linux/amd64
# If you want to build the current bench image the Containerfile is in this Repo.
# build: ../images/bench
command: sleep infinity
environment:
- SHELL=/bin/bash