Explorar el Código

cicd: Add target integration testing image

jamesread hace 4 años
padre
commit
59f214fd45
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      Makefile

+ 5 - 0
Makefile

@@ -46,6 +46,11 @@ podman-container:
 	podman create --name olivetin -p 1337:1337 -v /etc/OliveTin/:/config:ro olivetin
 	podman create --name olivetin -p 1337:1337 -v /etc/OliveTin/:/config:ro olivetin
 	podman start olivetin
 	podman start olivetin
 
 
+integration-tests-docker-image:
+	docker rm -f olivetin && docker rmi -f olivetin
+	docker build -t olivetin:latest .
+	docker create --name olivetin -p 1337:1337 -v `pwd`/integration-tests/configs/:/config/ olivetin 
+
 devrun: compile
 devrun: compile
 	killall OliveTin || true
 	killall OliveTin || true
 	./OliveTin &
 	./OliveTin &