summaryrefslogtreecommitdiffstats
path: root/OS/Dockerfile
blob: da351a2d35dfb144ef9587ce62846d0a9d2f9229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM fedora:rawhide
MAINTAINER Christophe LARUE <dev@startx.fr>

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 
COPY *.sh /bin/
RUN chmod 775 /bin/sx-lib.sh /bin/run.sh && \
    mkdir /data && \
    mkdir /data/logs
ENV TERM=xterm

CMD ["/bin/run.sh"]