SQL & docker

This commit is contained in:
2024-02-26 20:37:20 +01:00
parent 2d9560a691
commit 9cbe1a2ea6
27 changed files with 733 additions and 9 deletions

View File

@@ -64,7 +64,8 @@ Il faudra soit éditer les squelette de fichiers java fournis, soit répondre da
b) Quelle est la commande pour lancer les tests de la classe TestSimpleDeque si les archives
junit.jar et hamcrest-core.jar sont dans le CLASSPATH?
=> CLASSPATH=".:/usr/share/java/junit.jar:/usr/share/java/hamcrest-core.jar"
=> avec ce CLASSPATH ci dessous voici la requette qui correspond:
CLASSPATH=".:/usr/share/java/junit.jar:/usr/share/java/hamcrest-core.jar"
java -cp $CLASSPATH org.junit.runner.JUnitCore

View File

@@ -166,7 +166,7 @@ public class TestSimpleDeque {
d.addFirst(s[indice]);
}
for (i=0; i<N; i++){
d.removeLast();
System.out.d.removeLast();
}
assertTrue(d.isEmpty());

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,15 @@
FROM httpd:alpine3.19
RUN apk add --no-cache apache2
LABEL MAINTAINER = "ALEXIS" \
VERSION = "1.8" \
TP = "3"
COPY ./dayScheduler /usr/local/apache2/htdocs/
RUN sed -i 's/Work Day Scheduler/schnur/g' /usr/local/apache2/htdocs/index.html
ENV SCHOOL=IUT \
LEVEL=1.8
HEALTHCHECK --interval=1m --timeout=1s \
CMD curl -f http://localhost/ || exit 1
EXPOSE 8080