summaryrefslogtreecommitdiff
path: root/Containerfile
diff options
context:
space:
mode:
authorunitexe <unitexe70@gmail.com>2026-02-25 23:19:11 -0600
committerunitexe <unitexe70@gmail.com>2026-02-25 23:59:55 -0600
commit86e346e0e43ef0aa659a4b89a54f5ab8796802f8 (patch)
treec7a19f234a784e2074dd145ef73a981f981c64a9 /Containerfile
parent38aa6c40178e02d8fd68d4451eea729c47355ee7 (diff)
Build container for armv7 platformHEADv/0.3.0main
Switch from alpine to debian slim bookworm since rust alpine doesn't have a image for armv7 by default but debian slim bookworm does.
Diffstat (limited to 'Containerfile')
-rw-r--r--Containerfile8
1 files changed, 4 insertions, 4 deletions
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