Avoid compose plugin download during image build

This commit is contained in:
Rixuan Shao
2026-05-30 01:26:43 +08:00
parent f2d490dd71
commit 706bd6a19f
3 changed files with 10 additions and 6 deletions
-3
View File
@@ -47,9 +47,6 @@ RUN set -eux; \
&& mv docker/docker /usr/bin/docker \
&& chmod +x /usr/bin/docker \
&& rm -rf docker docker.tgz \
&& mkdir -p /usr/local/lib/docker/cli-plugins \
&& download https://github.com/docker/compose/releases/download/v2.24.5/docker-compose-linux-x86_64 /usr/local/lib/docker/cli-plugins/docker-compose \
&& chmod +x /usr/local/lib/docker/cli-plugins/docker-compose \
&& rm -rf /var/lib/apt/lists/*
COPY . .