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());
|
||||
|
||||
|
BIN
DEV/Docker/Cours/R4.A.08.Virtualisation.pdf
Normal file
BIN
DEV/Docker/Cours/R4.A.08.Virtualisation.pdf
Normal file
Binary file not shown.
Binary file not shown.
BIN
DEV/Docker/Cours/VIRTUALISATION 2 Prise en main de DOCKER.pdf
Normal file
BIN
DEV/Docker/Cours/VIRTUALISATION 2 Prise en main de DOCKER.pdf
Normal file
Binary file not shown.
BIN
DEV/Docker/Cours/VIRTUALISATION 4 DOCKER-COMPOSE.pdf
Normal file
BIN
DEV/Docker/Cours/VIRTUALISATION 4 DOCKER-COMPOSE.pdf
Normal file
Binary file not shown.
BIN
DEV/Docker/Cours/VIRTUALISATION 5 6 Monitoring Docker.pdf
Normal file
BIN
DEV/Docker/Cours/VIRTUALISATION 5 6 Monitoring Docker.pdf
Normal file
Binary file not shown.
BIN
DEV/Docker/Cours/VIRTUALISATION 7 8 logs.pdf
Normal file
BIN
DEV/Docker/Cours/VIRTUALISATION 7 8 logs.pdf
Normal file
Binary file not shown.
BIN
DEV/Docker/Cours/cheat-sheet-docker.pdf
Normal file
BIN
DEV/Docker/Cours/cheat-sheet-docker.pdf
Normal file
Binary file not shown.
BIN
DEV/Docker/TP03/VIRTUALISATION 3 DOCKERFILE.pdf
Normal file
BIN
DEV/Docker/TP03/VIRTUALISATION 3 DOCKERFILE.pdf
Normal file
Binary file not shown.
15
DEV/Docker/TP03/dockerfile
Normal file
15
DEV/Docker/TP03/dockerfile
Normal 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
|
Reference in New Issue
Block a user