summaryrefslogtreecommitdiffstats
path: root/OS/Dockerfile
blob: 9e2d163843618c7a8145604c9adde46cd0e9f4ec (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 pwgen tar psmisc procps 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" ]