Skip to content
Extraits de code Groupes Projets
Valider 1626a713 rédigé par Fanch's avatar Fanch
Parcourir les fichiers

kiss dockerfile for molecule

parent 848f04f7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
{% if item.registry is defined %}
FROM {{ item.registry.url }}/{{ item.image }}
{% else %}
FROM {{ item.image }}
{% endif %}
FROM archlinux/archlinux:base-devel
ENV container docker
FROM docker.io/archlinux/archlinux:base-devel
RUN pacman -Syu --noconfirm
RUN pacman -S systemd dbus python emacs-nox bash-completion --noconfirm
RUN pacman -Scc --noconfirm
RUN rm \
/usr/lib/systemd/system/sysinit.target.wants/systemd-firstboot.service \
/usr/lib/systemd/system/systemd-firstboot.service
# RUN systemctl set-default multi-user.target
RUN systemctl set-default sysinit.target
VOLUME [ "/sys/fs/cgroup" ]
#, "/run", "/run/lock", "/tmp" ]
STOPSIGNAL SIGRTMIN+3
# CMD ["/usr/lib/systemd/systemd", "--log-level=info", "--unit=multi-user.target"]
CMD ["/sbin/init"]
RUN pacman -S --noconfirm python systemd
......@@ -4,4 +4,4 @@
tasks:
- name: "Include redis"
include_role:
name: "redis"
name: "air.redis"
---
dependency:
name: galaxy
lint: |
ansible-lint .
yamllint .
ansible-lint
driver:
name: podman
platforms:
- name: archlinux-test
image: archlinux/archlinux:base-devel
registry:
url: docker.io
dockerfile: Dockerfile.j2
override_command: false
pre_build_image: false
pull: false
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
environment:
container: docker
tty: true
published_ports:
- 0.0.0.0:18080:80/tcp
image: archlinux-test-podman
command: "/sbin/init"
provisioner:
name: ansible
log: true
options:
v: true
config_options:
defaults:
interpreter_python: "auto"
verifier:
name: ansible
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter