-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Résolution des conflits lors du merge des branches docker et master
- Loading branch information
1 parent
0bd6906
commit c737b97
Showing
2 changed files
with
1 addition
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,13 @@ | ||
language: java | ||
jdk: | ||
- openjdk11 | ||
<<<<<<< HEAD | ||
|
||
install: | ||
- mvn install -DskipTests | ||
|
||
before_script: | ||
======= | ||
install: true | ||
docker: | ||
>>>>>>> 7f3ea4bcd937c2850f91d0acc6685b48fab9d5ad | ||
- docker build -t puerto-rico . | ||
|
||
<<<<<<< HEAD | ||
#script: | ||
# - mvn install | ||
# - mvn exec:javag | ||
======= | ||
script: | ||
- mvn test | ||
- docker run puerto-rico | ||
>>>>>>> docker | ||
- docker run puerto-rico |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,7 @@ | ||
<<<<<<< HEAD | ||
FROM openjdk:11-jdk-slim | ||
|
||
======= | ||
FROM maven:3.6.2-jdk-11-slim | ||
>>>>>>> 7f3ea4bcd937c2850f91d0acc6685b48fab9d5ad | ||
COPY . /home/Puerto-Rico/docker/java | ||
WORKDIR /home/Puerto-Rico/docker/java | ||
<<<<<<< HEAD | ||
RUN mvn package exec:java | ||
CMD ["start"] | ||
|
||
|
||
======= | ||
ARG JAR_FILE=/target/PuertoRico-0.1-SNAPSHOT-jar-with-dependencies.jar | ||
COPY ${JAR_FILE} jeux.jar | ||
ENTRYPOINT java -jar jeux.jar | ||
>>>>>>> docker |