Skip to content

Commit 0ca405f

Browse files
committed
update ci dockerfiles
1 parent eac7a6e commit 0ca405f

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

ci/slurm/Dockerfile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
# syntax = docker/dockerfile:1.2.1
21
FROM ubuntu:24.04
32

43
ENV DEBIAN_FRONTEND=noninteractive
54
RUN --mount=type=cache,target=/var/cache/apt \
65
rm -f /etc/apt/apt.conf.d/docker-clean \
7-
&& apt-get update && apt-get -y install python3-pip slurm-wlm
8-
ENV PIP_CACHE_DIR=/tmp/pip-cache
9-
RUN --mount=type=cache,target=${PIP_CACHE_DIR} python3 -m pip install ipyparallel pytest-asyncio pytest-cov
6+
&& apt-get update && apt-get -y install python3-pip slurm-wlm python3-venv
7+
8+
ENV PIP_CACHE_DIR=/tmp/pip-cache \
9+
VIRTUAL_ENV=/srv/env \
10+
PATH=/srv/env/bin:${PATH}
11+
12+
RUN --mount=type=cache,target=${PIP_CACHE_DIR} \
13+
python3 -m venv $VIRTUAL_ENV \
14+
&& $VIRTUAL_ENV/bin/python3 -m pip install ipyparallel pytest-asyncio pytest-cov
1015
RUN mkdir /var/spool/slurmctl \
1116
&& mkdir /var/spool/slurmd
1217
COPY slurm.conf /etc/slurm-llnl/slurm.conf

ci/slurm/docker-compose.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: "2.2"
2-
31
services:
42
slurmctld:
53
image: ipp-cluster:slurm

ci/ssh/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# syntax = docker/dockerfile:1.2.1
21
FROM ubuntu:24.04
32
RUN --mount=type=cache,target=/var/cache/apt \
43
rm -f /etc/apt/apt.conf.d/docker-clean \

0 commit comments

Comments
 (0)