From 86e346e0e43ef0aa659a4b89a54f5ab8796802f8 Mon Sep 17 00:00:00 2001 From: unitexe Date: Wed, 25 Feb 2026 23:19:11 -0600 Subject: Build container for armv7 platform Switch from alpine to debian slim bookworm since rust alpine doesn't have a image for armv7 by default but debian slim bookworm does. --- Containerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Containerfile') diff --git a/Containerfile b/Containerfile index 1494828..708ea88 100644 --- a/Containerfile +++ b/Containerfile @@ -2,9 +2,9 @@ # Build stage # -FROM rust:1.91-alpine3.23 AS builder +FROM rust:1.91-slim-bookworm AS builder -RUN apk add --no-cache musl-dev +RUN apt-get update && apt-get install -y pkg-config && rm -rf /var/lib/apt/lists/* WORKDIR /app @@ -18,9 +18,9 @@ RUN cargo build --release # Run stage # -FROM alpine:latest +FROM debian:bookworm-slim -RUN apk add --no-cache libgcc +RUN apt-get update && apt-get install -y libgcc-s1 && rm -rf /var/lib/apt/lists/* WORKDIR /app -- cgit v1.2.3