toolchain
This commit is contained in:
parent
064565ff00
commit
f5a83a0c90
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user