Skip to content

Commit 5aa667a

Browse files
committed
feat: add mc
1 parent 8fbb281 commit 5aa667a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ RUN sudo corepack enable && \
2020
# 浏览器二进制由各项目 CI 中 `playwright install chromium` 按版本安装
2121
RUN npx -y playwright install-deps chromium
2222

23+
# Install MinIO Client (for CI cache)
24+
RUN curl -fsSL https://dl.min.io/client/mc/release/linux-amd64/mc -o mc && \
25+
chmod a+x mc && \
26+
sudo mv mc /usr/local/bin/
27+
2328
# Install Docker Buildx and setup builder
2429
RUN BUILDX_VERSION=$(curl -s "https://api.github.com/repos/docker/buildx/releases/latest" | jq -r .tag_name) && \
2530
curl -L "https://github.com/docker/buildx/releases/download/${BUILDX_VERSION}/buildx-${BUILDX_VERSION}.linux-amd64" -o docker-buildx && \

0 commit comments

Comments
 (0)