Closed SemenMartynov closed 6 years ago
Any updates here?
done! no errors now
I don't see your commit! Please, follow gitflow!
I have corrected.
Follow gitflow! And implement requirements from the task description!
I did it, but I'm not sure is this what you asked for.
And implement requirements from the task description!
What do you mean?
maven:3.3-jdk-8-onbuild
as the base image, see here https://github.com/SemenMartynov/SPbPU_TRPO_2017/blob/master/Task01.RUS.txt#L11[INFO] Installing /json-validator/target/validator-0.1.jar to /root/.m2/repository/TRPO/validator/0.1/validator-0.1.jar
[INFO] Installing /json-validator/pom.xml to /root/.m2/repository/TRPO/validator/0.1/validator-0.1.pom
[INFO] Installing /json-validator/target/validator-0.1-jar-with-dependencies.jar to /root/.m2/repository/TRPO/validator/0.1/validator-0.1-jar-with-dependencies.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.299 s
[INFO] Finished at: 2018-01-29T21:17:51Z
[INFO] Final Memory: 23M/203M
[INFO] ------------------------------------------------------------------------
---> 1743af2ff3d9
Removing intermediate container 5545407d8e73
Step 8/8 : CMD java -jar /usr/src/app/target/validator-0.1-jar-with-dependencies.jar
---> Running in 912bb4345571
---> 476f417ea473
Removing intermediate container 912bb4345571
Successfully built 476f417ea473
Error: Unable to access jarfile /usr/src/app/target/validator-0.1-jar-with-dependencies.jar
You are nor running your docker image from the github, aren't you?
Just look at your dockerfile
.
I understood. Fixed
ok