From d8cc4dc51c5ee5413bdacf62d49f656cee9352e3 Mon Sep 17 00:00:00 2001 From: soul-walker <31162815+soul-walker@users.noreply.github.com> Date: Mon, 23 Sep 2024 15:50:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0libssl-dev=E5=AE=89=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8576f3a..198e334 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -# 以 node:16-bullseye 镜像为基础,添加openssl、musl-tools、Rust 工具链等工具 +# 以 node:16-bullseye 镜像为基础,添加openssl、libssl-dev、musl-tools、Rust 工具链等工具 # 用于构建 Rust 项目的镜像 FROM node:16-bullseye -RUN apt-get update && apt-get install -y openssl musl-tools && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +RUN apt-get update && apt-get install -y openssl libssl-dev musl-tools && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y ENV PATH="/root/.cargo/bin:${PATH}" RUN rustup target add x86_64-unknown-linux-musl -CMD [ "bash" ] \ No newline at end of file +CMD [ "node" ] \ No newline at end of file