FROM fedora:rawhide MAINTAINER Christophe LARUE USER root # Install minimal packages RUN dnf -y install deltarpm pwgen tar python-dnf-plugins-extras-migrate && \ dnf-2 migrate && \ dnf -y install psmisc procps coreutils findutils iputils net-tools wget logrotate zip && \ dnf clean all ENV STARTUPLOG=/logs/startup.log \ LOG_PATH=/logs COPY *.sh /bin/ RUN chmod 775 /bin/sx-lib.sh /bin/run.sh && \ mkdir /data /logs && \ touch $STARTUPLOG VOLUME [$LOG_PATH] CMD ["/bin/run.sh"]