summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--Containerfile8
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 20043a4..d7cafd7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -54,7 +54,7 @@ jobs:
with:
image: ${{ env.IMAGE_NAME }}
tags: ${{ steps.tags.outputs.tags }}
- archs: amd64, arm64
+ archs: amd64, arm64, arm/v7
containerfiles: |
./Containerfile
labels: |
diff --git a/Containerfile b/Containerfile
index 4c8852b..7e808b2 100644
--- a/Containerfile
+++ b/Containerfile
@@ -4,9 +4,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 protobuf-dev
+RUN apt-get update && apt-get install -y pkg-config protobuf-compiler && rm -rf /var/lib/apt/lists/*
WORKDIR /app
@@ -24,9 +24,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