Compare commits

..

4 Commits

Author SHA1 Message Date
uumas
29a1688105 add stream9 2024-08-29 15:25:37 +03:00
uumas
8061efeb9f add bullseye-docker tag 2023-07-19 10:12:28 +03:00
uumas
aeab43a16b remove unnecessary apt-get clean 2023-07-13 14:14:22 +03:00
uumas
5886eed9cc add systemd to image 2023-07-13 12:46:11 +03:00
3 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
FROM git.uumas.fi/uumas/molecule-testbed:bullseye
RUN apt-get update && apt-get install -y apt-transport-https ca-certificates curl gnupg && rm -rf /var/lib/apt/lists/*
RUN mkdir -p /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/debian/gpg > /etc/apt/keyrings/docker.asc && \
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian bullseye stable" \
> /etc/apt/sources.list.d/docker.list && \
apt-get update && \
apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin python3-docker && \
rm -rf /var/lib/apt/lists/*
VOLUME /var/lib/docker

View File

@@ -1,2 +1,3 @@
FROM debian:bullseye
RUN apt-get update && apt-get install -y python3 && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y python3 systemd && rm -rf /var/lib/apt/lists/*
CMD ["/lib/systemd/systemd"]

3
stream9/Dockerfile Normal file
View File

@@ -0,0 +1,3 @@
FROM quay.io/centos/centos:stream9
RUN dnf -y install systemd && dnf clean all
CMD ["/lib/systemd/systemd"]