FROM opensuse/leap
LABEL maintainer="phoenix"
LABEL description="openSUSE Leap container for Ansible testing"

# Adjust to your needs
RUN zypper in -y systemd systemd-sysvinit python python-pip python3 python3-pip curl less vim
# Clear zypper cache
RUN rm -rf /var/cache/zypp/*

# Start container with systemd
ENTRYPOINT ["/sbin/init"]
