docker: make images arm64-compatible (#2199)
* optimize multi-arch docker build on x86 * test * test * test * test * separate build * separate build * fix package versions * also fixes the release * orjson * orjson * fix cryptography * fix duckdb * all * all * fix * use provenance
This commit is contained in:
parent
682a1c65fe
commit
076498ebcf
4 changed files with 18 additions and 9 deletions
9
.github/workflows/pre-release-langflow.yml
vendored
9
.github/workflows/pre-release-langflow.yml
vendored
|
|
@ -80,7 +80,8 @@ jobs:
|
|||
context: .
|
||||
push: true
|
||||
file: ./docker/build_and_push.Dockerfile
|
||||
platforms: "linux/amd64,linux/arm64/v8"
|
||||
# provenance: false will result in a single manifest for all platforms which makes the image pullable from arm64 machines via the emulation (e.g. Apple Silicon machines)
|
||||
provenance: false
|
||||
tags: |
|
||||
langflowai/langflow:${{ needs.release.outputs.version }}
|
||||
langflowai/langflow:1.0-alpha
|
||||
|
|
@ -90,7 +91,8 @@ jobs:
|
|||
context: .
|
||||
push: true
|
||||
file: ./docker/frontend/build_and_push_frontend.Dockerfile
|
||||
platforms: "linux/amd64,linux/arm64/v8"
|
||||
# provenance: false will result in a single manifest for all platforms which makes the image pullable from arm64 machines via the emulation (e.g. Apple Silicon machines)
|
||||
provenance: false
|
||||
tags: |
|
||||
langflowai/langflow-frontend:${{ needs.release.outputs.version }}
|
||||
langflowai/langflow-frontend:1.0-alpha
|
||||
|
|
@ -102,7 +104,8 @@ jobs:
|
|||
context: .
|
||||
push: true
|
||||
file: ./docker/build_and_push_backend.Dockerfile
|
||||
platforms: "linux/amd64,linux/arm64/v8"
|
||||
# provenance: false will result in a single manifest for all platforms which makes the image pullable from arm64 machines via the emulation (e.g. Apple Silicon machines)
|
||||
provenance: false
|
||||
build-args: |
|
||||
LANGFLOW_IMAGE=langflowai/langflow:${{ needs.release.outputs.version }}
|
||||
tags: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue