Skip to content

Commit

Permalink
Résolution des conflits lors du merge des branches docker et master
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelPorracchia committed Feb 14, 2020
1 parent 0bd6906 commit c737b97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
13 changes: 1 addition & 12 deletions .travis.yml
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
11 changes: 0 additions & 11 deletions Dockerfile
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

0 comments on commit c737b97

Please sign in to comment.