diff --git a/atomics/T1613/T1613.yaml b/atomics/T1613/T1613.yaml index 3e4790375f..22f2f75d41 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 e382bb5fa4..b72fe74a14 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"]