Update Dockerfile for new rust and debian version

This commit is contained in:
Jan-Henrik 2024-01-14 18:04:14 +01:00
parent 2bb5e84f7a
commit fd1a1eb8c2

View file

@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM rust:1.70 as cross FROM --platform=$BUILDPLATFORM rust:1.75 as cross
ARG TARGETARCH ARG TARGETARCH
COPY docker/platform.sh . COPY docker/platform.sh .
RUN ./platform.sh # should write /.platform and /.compiler RUN ./platform.sh # should write /.platform and /.compiler
@ -11,7 +11,7 @@ RUN cargo build --release --target $(cat /.platform)
RUN cp ./target/$(cat /.platform)/release/ics-adapter /ics-adapter.bin # Get rid of this when build --out is stable RUN cp ./target/$(cat /.platform)/release/ics-adapter /ics-adapter.bin # Get rid of this when build --out is stable
FROM debian:buster-slim FROM debian:bookworm-slim
ARG APP=/usr/src/app ARG APP=/usr/src/app
RUN apt-get update \ RUN apt-get update \