aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2')
-rw-r--r--fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j29
1 files changed, 6 insertions, 3 deletions
diff --git a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2
index b4713d8552..810374527c 100644
--- a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2
+++ b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2
@@ -1,9 +1,10 @@
-version: "3"
services:
- numa-0:
+ sut-0:
build:
context: "base/"
dockerfile: "Dockerfile"
+ args:
+ BASE_IMAGE: "ubuntu:24.04"
cap_add:
- NET_RAW
command: ["/usr/sbin/sshd","-D", "-p", "6001"]
@@ -20,10 +21,12 @@ services:
source: "{{ volume.source }}"
target: "{{ volume.target }}"
{% endfor %}
- numa-1:
+ sut-1:
build:
context: "base/"
dockerfile: "Dockerfile"
+ args:
+ BASE_IMAGE: "ubuntu:24.04"
cap_add:
- NET_RAW
command: ["/usr/sbin/sshd","-D", "-p", "6002"]