mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2024-12-27 09:19:06 +01:00
20 lines
485 B
Docker
20 lines
485 B
Docker
FROM scidas/slurm.base:19.05.1
|
|
MAINTAINER Michael J. Stealey <stealey@renci.org>
|
|
|
|
ENV DBD_ADDR=database \
|
|
DBD_HOST=database \
|
|
DBD_PORT=6819 \
|
|
STORAGE_HOST=database.local.dev \
|
|
STORAGE_PORT=3306 \
|
|
STORAGE_PASS=password \
|
|
STORAGE_USER=slurm
|
|
|
|
# clean up
|
|
RUN rm -f /packages/slurm-*.rpm /packages/openmpi-*.rpm \
|
|
&& yum clean all \
|
|
&& rm -rf /var/cache/yum
|
|
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
|
|
|
ENTRYPOINT ["/usr/local/bin/tini", "--", "/docker-entrypoint.sh"]
|