From a979ac2f4747e7521d38cc489d2653f2038277a5 Mon Sep 17 00:00:00 2001 From: "thibault.faure" Date: Sat, 27 Aug 2022 20:40:10 +0200 Subject: [PATCH] BAEL-5511 code for the Rebuild docker container with docker-compose article --- .../rebuild-container/docker-compose-independents.yml | 8 ++++++++ .../docker-compose-with-dependency.yml | 10 ++++++++++ 2 files changed, 18 insertions(+) create mode 100644 docker-modules/docker-compose/rebuild-container/docker-compose-independents.yml create mode 100644 docker-modules/docker-compose/rebuild-container/docker-compose-with-dependency.yml diff --git a/docker-modules/docker-compose/rebuild-container/docker-compose-independents.yml b/docker-modules/docker-compose/rebuild-container/docker-compose-independents.yml new file mode 100644 index 0000000000..edf0934bc9 --- /dev/null +++ b/docker-modules/docker-compose/rebuild-container/docker-compose-independents.yml @@ -0,0 +1,8 @@ +version: "3.9" +services: + ubuntu: + image: "ubuntu:latest" + tty: true + alpine: + image: "alpine:latest" + tty: true \ No newline at end of file diff --git a/docker-modules/docker-compose/rebuild-container/docker-compose-with-dependency.yml b/docker-modules/docker-compose/rebuild-container/docker-compose-with-dependency.yml new file mode 100644 index 0000000000..49852dbd78 --- /dev/null +++ b/docker-modules/docker-compose/rebuild-container/docker-compose-with-dependency.yml @@ -0,0 +1,10 @@ +version: "3.9" +services: + ubuntu: + image: "ubuntu:latest" + tty: true + depends_on: + - "alpine" + alpine: + image: "alpine:latest" + tty: true \ No newline at end of file