Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions slurm-docker-cluster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ LABEL org.opencontainers.image.source="https://github.com/giovtorres/slurm-docke
ARG SLURM_TAG=slurm-22-05-9-1
ARG GOSU_VERSION=1.11

COPY --from=ghcr.io/astral-sh/uv:0.4.20 /uv /bin/uv

RUN set -ex \
&& dnf makecache \
&& dnf -y update \
Expand Down Expand Up @@ -43,10 +45,7 @@ RUN set -ex \
&& rm -rf /var/cache/yum \
&& ln -s /usr/bin/python3 /usr/bin/python

RUN python3 -m pip install --upgrade pip

RUN pip3 install Cython nose
RUN python3 -m pip install -U pytest

RUN set -ex \
&& wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-amd64" \
Expand Down Expand Up @@ -104,8 +103,6 @@ RUN chmod 600 /etc/slurm/slurmdbd.conf

COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh

RUN pip3 install poetry

ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]

CMD ["slurmdbd"]