mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +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:
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue