My personal site cherry.computer
htmx tailwind axum askama

build: bump Rust version

I bumped the Rust dependencies late last year, but I didn't realise that
an increase in MSRV is not considered a breaking change, so the Docker
build started failing because it was tagged to an old Rust compiler.
Bumping the compiler also broke as it will default to latest stable
version of Debian when it was cut, so the new image was using a newer
version of Debian with OpenSSL 3, which the old buster image doesn't
support. I should specify the Debian version in the builder image in the
future to avoid this compatibility issue. (I should also actually use
OpenSSL for reqwest as at the moment we aren't using TLS when connecting
to Last.fm...)

+2 -2
+2 -2
Dockerfile
··· 8 8 COPY frontend . 9 9 RUN npm run build:production 10 10 11 - FROM rust:1.61 as builder-rs 11 + FROM rust:1.74-buster as builder-rs 12 12 13 13 WORKDIR /usr/src/myivo-server 14 14 COPY server . ··· 32 32 33 33 EXPOSE 8080 34 34 35 - CMD ["myivo-server"] 35 + CMD ["myivo-server"]