Skip to content

Commit

Permalink
Merge pull request #1495 from fractal-analytics-platform/docker-images
Browse files Browse the repository at this point in the history
Review Docker images
  • Loading branch information
tcompa committed May 15, 2024
2 parents fee3d99 + 0cb12f3 commit c004c74
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

# Unreleased

* Testing:
* Improve dockerfiles for SLURM (\#1495).

# 2.0.6

> NOTE: This version changes log formats.
Expand Down
2 changes: 0 additions & 2 deletions tests/data/slurm_docker_images/docker-compose-private.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# The only difference is '/private:/private:rw' in place of '/tmp:/tmp:rw'
# See https://github.com/fractal-analytics-platform/fractal-server/issues/1475

version: '3'

services:

slurm-docker-master:
Expand Down
2 changes: 0 additions & 2 deletions tests/data/slurm_docker_images/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:

slurm-docker-master:
Expand Down
3 changes: 0 additions & 3 deletions tests/data/slurm_docker_images/master/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
FROM rancavil/slurm-master:19.05.5-1

RUN apt-get update
RUN sudo apt-get install python3-venv -y

COPY slurm.conf /etc/slurm-llnl/
ADD sudoers /etc/sudoers

Expand Down
3 changes: 1 addition & 2 deletions tests/data/slurm_docker_images/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ COPY slurm.conf /etc/slurm-llnl/
ADD fractal_server_local.tar.gz .
WORKDIR ./fractal-server

RUN pip3 install --upgrade pip setuptools wheel
RUN pip3 install --upgrade pip setuptools wheel devtools
RUN pip3 install -e .
RUN pip3 install devtools

RUN useradd --uid 2001 -m test01 -s /usr/bin/bash -d /home/test01 && echo "test01:test01" | chpasswd

Expand Down

0 comments on commit c004c74

Please sign in to comment.