mirror of
https://github.com/amir20/dozzle.git
synced 2026-06-23 04:10:12 +00:00
Pin compose stage to TARGETPLATFORM
Ensures the correct architecture of the docker-compose binary is copied during multi-arch builds where BUILDPLATFORM != TARGETPLATFORM.
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ COPY public ./public
|
||||
RUN pnpm build
|
||||
|
||||
# Grab docker-compose binary
|
||||
FROM docker/compose-bin:v2.36.0 AS compose
|
||||
FROM --platform=$TARGETPLATFORM docker/compose-bin:v2.36.0 AS compose
|
||||
|
||||
FROM --platform=$BUILDPLATFORM golang:1.26-alpine AS builder
|
||||
|
||||
|
||||
Reference in New Issue
Block a user