toolchain

This commit is contained in:
Sense T 2024-02-29 10:57:21 +08:00
parent 064565ff00
commit f5a83a0c90

View File

@ -4,7 +4,7 @@ ENV RUSTFLAGS="-C target-feature=-crt-static"
WORKDIR /usr/src/saysthbot WORKDIR /usr/src/saysthbot
COPY . . COPY . .
RUN apk add --no-cache rustup openssl-dev build-base && \ RUN apk add --no-cache rustup openssl-dev build-base && \
rustup-init -y --default-toolchain nightly && \ rustup-init -y --default-toolchain nightly-2024-02-04 && \
source ${HOME}/.cargo/env && cargo build --release source ${HOME}/.cargo/env && cargo build --release
FROM alpine FROM alpine