# Create a VM for testing Ansible provisioning.

FROM opensuse/tumbleweed

RUN zypper -n refresh \
   && zypper -n dist-upgrade -y \
   && zypper -n install -y $PACKAGES $EXTRA_OPENSUSE

COPY bin/main.sh /root/main.sh
RUN chmod +x /root/main.sh

WORKDIR /root/
USER root
CMD ./main.sh
