mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 15:55:09 +00:00
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:
parent
0c59c8475c
commit
8b523ca125
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue