From c82a95d0bc07b608e18de92431fa0ce4696b87ef Mon Sep 17 00:00:00 2001 From: alikia2x Date: Sun, 11 May 2025 02:38:46 +0800 Subject: [PATCH] fix: missing aliyun CLI installation process in backend Dockerfile --- Dockerfile.backend | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile.backend b/Dockerfile.backend index 244d0b3..12618e9 100644 --- a/Dockerfile.backend +++ b/Dockerfile.backend @@ -1,4 +1,4 @@ -FROM oven/bun +FROM oven/bun:1.2.8-debian WORKDIR /app @@ -6,6 +6,12 @@ COPY ./packages/core ./core COPY ./packages/backend/package.json ./packages/backend/bun.lock ./backend/ +RUN apt update && apt install -y curl + +RUN ln -s /bin/uname /usr/bin/uname + +RUN /bin/bash -c "$(curl -fsSL https://aliyuncli.alicdn.com/install.sh)" + WORKDIR backend RUN bun install