Skip to content

Commit

Permalink
replace poetry with UV in slurm-docker-cluster docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzenklotz authored Oct 10, 2024
1 parent f8a3aa3 commit c1dd5c7
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 c1dd5c7

Please sign in to comment.