From 366ff6f084f9949ccbd5b3946b2a2aa88ef9aa68 Mon Sep 17 00:00:00 2001 From: AlbertoPellitteri <66901396+AlbertoPellitteri@users.noreply.github.com> Date: Fri, 2 Aug 2024 23:38:09 +0200 Subject: [PATCH] Fix T1613.yaml (#2886) * Fixing several issues on T1613 test * Undoing the md file fix * Undoing the md file fix and fixing also test 2 --------- Co-authored-by: Bhavin Patel --- atomics/T1613/T1613.yaml | 8 ++++---- atomics/T1613/src/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/atomics/T1613/T1613.yaml b/atomics/T1613/T1613.yaml index 3e479037..22f2f75d 100644 --- a/atomics/T1613/T1613.yaml +++ b/atomics/T1613/T1613.yaml @@ -21,13 +21,13 @@ atomic_tests: executor: command: |- docker build -t t1613 $PathtoAtomicsFolder/T1613/src/ - docker run --name t1613_container -d -t t1613 + docker run --name t1613_container --rm -d -t t1613 docker ps docker stats --no-stream docker inspect $(docker ps -l -q --filter ancestor=t1613) cleanup_command: |- docker stop t1613_container - docker rmi -f t1613_container + docker rmi -f t1613 name: sh - name: Podman Container and Resource Discovery @@ -50,11 +50,11 @@ atomic_tests: executor: command: |- podman build -t t1613 $PathtoAtomicsFolder/T1613/src/ - podman run --name t1613_container -d -t t1613 + podman run --name t1613_container --rm -d -t t1613 podman ps podman stats --no-stream podman inspect $(podman ps -l -q --filter ancestor=t1613) cleanup_command: |- podman stop t1613_container - podman rmi -f t1613_container + podman rmi -f t1613 name: sh diff --git a/atomics/T1613/src/Dockerfile b/atomics/T1613/src/Dockerfile index e382bb5f..b72fe74a 100644 --- a/atomics/T1613/src/Dockerfile +++ b/atomics/T1613/src/Dockerfile @@ -1,4 +1,4 @@ FROM ubuntu:24.04 -LABEL = "canonical" +LABEL key="canonical" RUN echo "canonical" ENTRYPOINT ["tail", "-f", "/dev/null"]