minor fixes

This commit is contained in:
2021-04-29 12:19:33 +02:00
parent bc27dec00e
commit 38a5b89de9
5 changed files with 29 additions and 22 deletions

View File

@@ -1,17 +1,21 @@
FROM docker.io/library/centos:7
RUN yum install -y epel-release && \
yum install -y slurm slurm-slurmd && \
yum clean all
yum install -y slurm && \
yum clean all && rm -rf /var/cache/yum
RUN yum install -y less iproute bind-utils nmap-ncat net-tools && \
yum clean all
yum clean all && rm -rf /var/cache/yum
COPY entrypoint.sh /usr/local/sbin/entrypoint.sh
RUN chown root:root /usr/local/sbin/entrypoint.sh && chmod 755 /usr/local/sbin/entrypoint.sh
RUN chown root:root /usr/local/sbin/entrypoint.sh && \
chmod 755 /usr/local/sbin/entrypoint.sh
ENTRYPOINT [ "/usr/local/sbin/entrypoint.sh" ]
RUN yum install -y slurm-slurmd && \
yum clean all && rm -rf /var/cache/yum
# CMD bash -c 'cat <({ condor_master -f & tail --retry --pid $! -f /var/log/condor/MasterLog & })'
CMD bash -c 'cat <({ su -s /bin/sh -c "munged -F" munge & slurmd -D & })'