1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-10-16 09:37:27 +00:00

Build and run with debian bookworm

This commit is contained in:
Steffo 2024-10-01 19:19:23 +02:00
parent 9e4689c53d
commit 2c1f710d9d
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
2 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View file

@ -1129,7 +1129,7 @@ dependencies = [
[[package]] [[package]]
name = "patched_porobot" name = "patched_porobot"
version = "1.0.0" version = "1.0.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64 0.21.7", "base64 0.21.7",

View file

@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM} rust:1.81 AS builder FROM --platform=${BUILDPLATFORM} rust:1.81-bookworm AS builder
ARG BUILDPLATFORM ARG BUILDPLATFORM
ARG TARGETPLATFORM ARG TARGETPLATFORM
@ -60,7 +60,7 @@ RUN \
############################################################################# #############################################################################
FROM --platform=${TARGETPLATFORM} rust:1.81-slim-bullseye AS final FROM --platform=${TARGETPLATFORM} rust:1.81-slim-bookworm AS final
WORKDIR /usr/src/patched_porobot/ WORKDIR /usr/src/patched_porobot/
COPY --from=builder \ COPY --from=builder \