diff --git a/Dockerfile b/Dockerfile index 7bbc583..78ef066 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ COPY src ./src RUN curl https://sh.rustup.rs -sSf | sh -s -- -y +RUN ~/.cargo/bin/rustup target add x86_64-unknown-linux-musl + RUN RUSTFLAGS="-Ctarget-feature=+crt-static" cargo build --release --target x86_64-unknown-linux-musl FROM scratch