first commit
Some checks failed
Release / build-and-push (push) Failing after 55s

This commit is contained in:
Your Name
2025-08-23 09:05:08 +00:00
commit 283a30ec3d
4 changed files with 58 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM ubuntu:22.04
# 安装依赖并下载 nerdctl
RUN apt-get update && apt-get install -y curl tar ca-certificates \
&& VERSION=1.7.7 \
&& curl -L https://github.com/containerd/nerdctl/releases/download/v${VERSION}/nerdctl-${VERSION}-linux-amd64.tar.gz -o /tmp/nerdctl.tgz \
&& tar -xzf /tmp/nerdctl.tgz -C /usr/local/bin \
&& rm -rf /var/lib/apt/lists/* /tmp/*
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]