Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Commit 455630a

Browse files
author
3np
committed
docker: add build-arg WITH_MATPLOTLIB, default 0
1 parent 6237e91 commit 455630a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ WORKDIR /jm/clientserver
55

66
COPY . .
77

8+
ARG WITH_MATPLOTLIB='0'
89
RUN apt-get update && apt-get install -y --no-install-recommends gnupg ca-certificates=* curl=* \
910
python3-packaging=* python3-pip=* python3=* \
1011
&& pip3 config set global.break-system-packages true \
1112
&& pip3 install 'wheel>=0.35.1' \
12-
&& ./install.sh --docker-install --with-matplotlib \
13+
&& ./install.sh --docker-install \
1314
&& apt-get purge -y --autoremove python3-pip \
1415
&& apt-get clean \
1516
&& rm -rf /var/lib/apt/lists/*

install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ parse_flags ()
489489
with_qt='0'
490490
;;
491491
--docker-install)
492+
with_mpl="${with_mpl:-${WITH_MATPLOTLIB}}"
492493
with_sudo='0'
493494
with_jmvenv='0'
494495
;;

0 commit comments

Comments
 (0)