21 lines
611 B
Docker
21 lines
611 B
Docker
FROM docker.io/library/centos:7 as base
|
|
|
|
RUN yum install -y epel-release && \
|
|
yum install -y slurm slurm-slurmctld && \
|
|
yum clean all
|
|
|
|
RUN yum install -y less iproute bind-utils nmap-ncat net-tools && \
|
|
yum clean all
|
|
|
|
RUN yum install -y slurm-slurmctld && \
|
|
yum clean all
|
|
|
|
COPY entrypoint.sh /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" ]
|
|
|
|
CMD bash -c 'cat <({ su -s /bin/sh -c "munged -F" munge & slurmctld -D & })'
|
|
# ... & tail --retry --pid $! -f /var/log/condor/MasterLog & })'
|