From 8496c3ed2d3fc119e4ca6e0d74d1b4fb3f8885b2 Mon Sep 17 00:00:00 2001 From: stevef Date: Mon, 13 Apr 2026 09:08:50 +0200 Subject: [PATCH] Fix: enforce ARM64 platform for RPI Docker image --- docker/Dockerfile.rpi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.rpi b/docker/Dockerfile.rpi index 1aa80caf1..de6b7d7d2 100644 --- a/docker/Dockerfile.rpi +++ b/docker/Dockerfile.rpi @@ -1,7 +1,7 @@ # ============================================================ # Stage 1: Build the picoclaw binaries # ============================================================ -FROM golang:1.25-alpine AS builder +FROM --platform=linux/arm64 golang:1.25-alpine AS builder WORKDIR /app @@ -29,7 +29,7 @@ RUN set -e; \ # ============================================================ # Stage 2: Final runtime image - lightweight Alpine # ============================================================ -FROM alpine:latest +FROM --platform=linux/arm64 alpine:latest # Install runtime dependencies as requested RUN apk add --no-cache \