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:
@@ -2,7 +2,6 @@ version: "3.7"
|
|||||||
services:
|
services:
|
||||||
mariadb:
|
mariadb:
|
||||||
image: docker.io/mariadb:10.6
|
image: docker.io/mariadb:10.6
|
||||||
platform: linux/amd64
|
|
||||||
command:
|
command:
|
||||||
- --character-set-server=utf8mb4
|
- --character-set-server=utf8mb4
|
||||||
- --collation-server=utf8mb4_unicode_ci
|
- --collation-server=utf8mb4_unicode_ci
|
||||||
@@ -38,15 +37,14 @@ services:
|
|||||||
|
|
||||||
redis-cache:
|
redis-cache:
|
||||||
image: docker.io/redis:alpine
|
image: docker.io/redis:alpine
|
||||||
platform: linux/amd64
|
|
||||||
|
|
||||||
redis-queue:
|
redis-queue:
|
||||||
image: docker.io/redis:alpine
|
image: docker.io/redis:alpine
|
||||||
platform: linux/amd64
|
|
||||||
|
|
||||||
frappe:
|
frappe:
|
||||||
image: docker.io/frappe/bench:latest
|
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
|
command: sleep infinity
|
||||||
environment:
|
environment:
|
||||||
- SHELL=/bin/bash
|
- SHELL=/bin/bash
|
||||||
|
|||||||
Reference in New Issue
Block a user