use toolchain

This commit is contained in:
Andras Schmelczer 2025-03-15 17:13:27 +00:00
commit 2987afb20a
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
4 changed files with 11 additions and 9 deletions

View file

@ -3,8 +3,6 @@ FROM rust:1.83 AS builder
WORKDIR /usr/src/backend
RUN apt update && apt install -y musl-tools
RUN rustup install nightly && rustup default nightly
RUN rustup target add x86_64-unknown-linux-musl
RUN cargo install sqlx-cli
COPY . .

View file

@ -1,4 +1,4 @@
[toolchain]
channel = "nightly-2025-03-14"
targets = [ "x86_64-unknown-linux-gnu" ]
targets = [ "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl" ]
profile = "default"