Skip to content

Commit

Permalink
Merge pull request #60 from scalableminds/uv
Browse files Browse the repository at this point in the history
replace poetry with UV in slurm-docker-cluster docker image
  • Loading branch information
hotzenklotz authored Oct 10, 2024
2 parents f8a3aa3 + c1dd5c7 commit 7326ef6
Showing 1 changed file with 2 additions and 5 deletions.
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"]

0 comments on commit 7326ef6

Please sign in to comment.