From 4dcf0b4c1f2783b29214be280fcad97eafa99b1c Mon Sep 17 00:00:00 2001 From: Kamil Stadryniak Date: Tue, 6 Dec 2022 17:35:22 +0100 Subject: [PATCH] Necessary setup because of https://github.com/dotnet/Docker.DotNet/issues/600 https://github.com/dotnet/Docker.DotNet/issues/601 --- ElToroRojo/setup.ps1 | 4 ++++ LaCamisaNegra/setup.ps1 | 17 ----------------- 2 files changed, 4 insertions(+), 17 deletions(-) create mode 100644 ElToroRojo/setup.ps1 delete mode 100644 LaCamisaNegra/setup.ps1 diff --git a/ElToroRojo/setup.ps1 b/ElToroRojo/setup.ps1 new file mode 100644 index 0000000..5c583c3 --- /dev/null +++ b/ElToroRojo/setup.ps1 @@ -0,0 +1,4 @@ +docker image pull rabbitmq:3.11-management +docker image build -t incoming.producer -f ./Incoming.Watchdog/Incoming.Producer/Dockerfile ./Incoming.Watchdog/Incoming.Producer +docker image build -t incoming.consumer -f ./Incoming.Watchdog/Incoming.Consumer/Dockerfile ./Incoming.Watchdog/Incoming.Consumer +docker image build -t incoming.api -f ./Incoming.Watchdog/Incoming.Api/Dockerfile ./Incoming.Watchdog/Incoming.Api \ No newline at end of file diff --git a/LaCamisaNegra/setup.ps1 b/LaCamisaNegra/setup.ps1 deleted file mode 100644 index 80459b5..0000000 --- a/LaCamisaNegra/setup.ps1 +++ /dev/null @@ -1,17 +0,0 @@ -#Cleanup -docker volume prune -f -docker network prune -f -docker container rm -f $(docker container ls -aqf label=case=queue) -#docker image rm $(docker image ls -aqf label=case=queue) -#docker image rm rabbitmq:3.11-management - -#Emulate a situation where we've got available images for each element (e.g. provided by nuget feed) -docker image pull rabbitmq:3.11-management -docker image build -t errordb -f ./ErrorDb/Dockerfile ./ErrorDb -docker image build -t itemdb -f ./ItemDb/Dockerfile ./ItemDb -docker image build -t incoming.producer -f ./Incoming.Producer/Dockerfile ./Incoming.Producer -docker image build -t incoming.consumer -f ./Incoming.Consumer/Dockerfile ./Incoming.Consumer -docker image build -t incoming.api -f ./Incoming.Api/Dockerfile ./Incoming.Api - -docker compose up -d -docker image prune -f \ No newline at end of file