You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ls: cannot access '/usr/bin/mvn': Operation not permitted Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
#262
Step 4/8 : RUN mvn verify clean --fail-never
---> Running in be816de6e910
ls: cannot access '/usr/bin/mvn': Operation not permitted
Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
The command '/bin/sh -c mvn verify clean --fail-never' returned a non-zero code: 1
HERE IS MY DOCKERFILE
FROM maven:3.8.4-openjdk-8 as build
WORKDIR /home/app
ADD pom.xml /home/app
RUN mvn verify clean --fail-never
ADD src /home/app/src
RUN mvn package
FROM openjdk:8
COPY --from=build /home/app/target/rtbkit-adapter-0.0.1-SNAPSHOT.jar /target/rtbkit-adapter-0.0.1-SNAPSHOT.jar
The text was updated successfully, but these errors were encountered:
Step 4/8 : RUN mvn verify clean --fail-never
---> Running in be816de6e910
ls: cannot access '/usr/bin/mvn': Operation not permitted
Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
The command '/bin/sh -c mvn verify clean --fail-never' returned a non-zero code: 1
HERE IS MY DOCKERFILE
FROM maven:3.8.4-openjdk-8 as build
WORKDIR /home/app
ADD pom.xml /home/app
RUN mvn verify clean --fail-never
ADD src /home/app/src
RUN mvn package
FROM openjdk:8
COPY --from=build /home/app/target/rtbkit-adapter-0.0.1-SNAPSHOT.jar /target/rtbkit-adapter-0.0.1-SNAPSHOT.jar
The text was updated successfully, but these errors were encountered: