mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
refactor(docker): split browser image into per-core prebuilt variants
Replace the single browser image (which required local build) with three prebuilt images: browser-chromium, browser-firefox, and browser (both). Each is exposed as a separate Docker Compose profile so users can simply `docker compose --profile browser-chromium up -d` without any local build step, significantly reducing install time.
This commit is contained in:
@@ -36,7 +36,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
image: [server, web, browser, sparse]
|
||||
image: [server, web, browser, browser-chromium, browser-firefox, sparse]
|
||||
platform: [linux/amd64, linux/arm64]
|
||||
include:
|
||||
- image: server
|
||||
@@ -45,6 +45,10 @@ jobs:
|
||||
dockerfile: docker/Dockerfile.web
|
||||
- image: browser
|
||||
dockerfile: docker/Dockerfile.browser
|
||||
- image: browser-chromium
|
||||
dockerfile: docker/Dockerfile.browser-chromium
|
||||
- image: browser-firefox
|
||||
dockerfile: docker/Dockerfile.browser-firefox
|
||||
- image: sparse
|
||||
dockerfile: docker/Dockerfile.sparse
|
||||
- platform: linux/amd64
|
||||
@@ -130,7 +134,7 @@ jobs:
|
||||
needs: build
|
||||
strategy:
|
||||
matrix:
|
||||
image: [server, web, browser, sparse]
|
||||
image: [server, web, browser, browser-chromium, browser-firefox, sparse]
|
||||
steps:
|
||||
- name: Download digests
|
||||
uses: actions/download-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user