summaryrefslogtreecommitdiffstats
path: root/molecule/default/Dockerfile.ubuntu.j2
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-09-04 00:25:57 +0200
committerAhmed Abdelhalim <[email protected]>2025-09-04 00:25:57 +0200
commit6725e4cc8f4e91b4215813171fa06d365721abed (patch)
tree325a3a3629e11e95a4379e0dab9d6a91b08290ca /molecule/default/Dockerfile.ubuntu.j2
parent9314a3458a5b3add41cf31c41e8597165943840d (diff)
Refactor molecule testing to run a scenario per distro
Diffstat (limited to 'molecule/default/Dockerfile.ubuntu.j2')
-rw-r--r--molecule/default/Dockerfile.ubuntu.j230
1 files changed, 0 insertions, 30 deletions
diff --git a/molecule/default/Dockerfile.ubuntu.j2 b/molecule/default/Dockerfile.ubuntu.j2
deleted file mode 100644
index 37199b55..00000000
--- a/molecule/default/Dockerfile.ubuntu.j2
+++ /dev/null
@@ -1,30 +0,0 @@
-# Based on the amazing work of geerlingguy <3
-# FROM docker.io/geerlingguy/docker-ubuntu2404-ansible
-FROM docker.io/library/ubuntu:noble
-
-ARG DEBIAN_FRONTEND=noninteractive
-
-ENV container docker
-
-RUN apt-get update \
- && apt-get install -y --no-install-recommends \
- locales systemd avahi-daemon python3 iproute2 ifupdown \
- && rm -Rf /var/lib/apt/lists/* \
- && rm -Rf /usr/share/doc \
- && rm -Rf /usr/share/man \
- && apt-get clean
-
-# Fix potential UTF-8 errors with ansible-test.
-RUN locale-gen en_US.UTF-8
-
-# Remove unnecessary getty and udev targets that result in high CPU usage when using
-# multiple containers with Molecule (https://github.com/ansible/molecule/issues/1104)
-RUN rm -f /lib/systemd/system/systemd*udev* \
- && rm -f /lib/systemd/system/getty.target
-
-# Mimic Ubuntu OS default boot (for testing)
-RUN systemctl enable avahi-daemon
-
-VOLUME ["/sys/fs/cgroup", "/tmp", "/run", "/opt"]
-
-CMD ["/lib/systemd/systemd"]