abundant-fall-5753008/11/2022, 10:53 PM
Step 5/11 : RUN ["mvn", "package", "dependency:copy-dependencies", "-DincludeScope=runtime", "-DskipTests=true", "-Dmdep.prependGroupId=true", "-DoutputDirectory=target", "--fail-never"] ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested ---> Running in 822010bdb134 /usr/share/maven/bin/mvn: package: No such file or directory The command 'mvn package dependency:copy-dependencies -DincludeScope=runtime -DskipTests=true -Dmdep.prependGroupId=true -DoutputDirectory=target --fail-never' returned a non-zero code: 127
% which mvn; mvn -version /opt/local/bin/mvn Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: /opt/local/share/java/maven3 Java version: 11.0.16, vendor: OpenJDK Porters Group, runtime: /Library/Java/JavaVirtualMachines/openjdk11/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "12.5", arch: "aarch64", family: "mac" %
hierarchy, and I don't think I should.
it works fine and builds to completion.
% mvn package dependency:copy-dependencies -DincludeScope=runtime -DskipTests=true -Dmdep.prependGroupId=true -DoutputDirectory=target --fail-never
% which docker; docker -v /Users/bp/.rd/bin/docker Docker version 20.10.17-rd, build c2e4e01 %
better-fountain-2571408/12/2022, 11:31 AM
had an issue with nvm, not mvn, which needed a tty to setup user info first.
RUN which mvn; nvn -version
proud-jewelry-4686008/15/2022, 6:21 PM
abundant-fall-5753008/15/2022, 6:35 PM