SQL & docker
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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
|
||||
Reference in New Issue
Block a user