From af9c05d8054e1e202b44c726c4a46732ff4ffeae Mon Sep 17 00:00:00 2001 From: TonyChyi Date: Wed, 29 Jun 2022 08:54:33 +0800 Subject: [PATCH] a --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0954e81..3eef976 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM alpine as build ENV RUSTFLAGS="-C target-feature=-crt-static" WORKDIR /usr/src/saysthbot COPY . . -RUN apk add --no-cache rustup openssl-dev && rustup-init -y --default-toolchain nightly && cargo build --release +RUN apk add --no-cache rustup openssl-dev build-base && rustup-init -y --default-toolchain nightly && source ${HOME}/.cargo/env && cargo build --release FROM alpine