使用 docker compose v2 构建失败,但旧版 docker-compose v1.29.2 和 docker build 成功
我有这个 Dockerfile FROM alpine/git as clone WORKDIR /keycloak RUN git clone https://github.com/maturbet-volta/nexus3-keycloak-plugin.git WORKDIR /cargo RUN git clone https://github.com/sonatype-nexus-community/nexus-repository-cargo.git FROM maven:3.5-jdk-8-alpine as build WORKDIR /k...