Skip to content

Commit df428eb

Browse files
committed
Adding MPLCONFIGDIR to broad_sanger Dockerfiles.
1 parent 58fd4f9 commit df428eb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

build/docker/Dockerfile.broad_sanger_exp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ RUN apt-get install -y --fix-missing --allow-unauthenticated build-essential pyt
88
RUN python3 -m venv /opt/venv
99
RUN /opt/venv/bin/pip3 install --upgrade pip
1010

11+
12+
# Set MPLCONFIGDIR to a writable directory
13+
ENV MPLCONFIGDIR=/tmp/matplotlib
14+
RUN mkdir -p /tmp/matplotlib
15+
16+
1117
ENV PYTHONPATH "${PYTHONPATH}:/app"
1218
WORKDIR /app
1319

build/docker/Dockerfile.broad_sanger_omics

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ RUN apt-get install -y --fix-missing --allow-unauthenticated build-essential pyt
88
RUN python3 -m venv /opt/venv
99
RUN /opt/venv/bin/pip3 install --upgrade pip
1010

11+
# Set MPLCONFIGDIR to a writable directory
12+
ENV MPLCONFIGDIR=/tmp/matplotlib
13+
RUN mkdir -p /tmp/matplotlib
14+
1115
ENV PYTHONPATH "${PYTHONPATH}:/app"
1216
WORKDIR /app
1317

0 commit comments

Comments
 (0)