From 6adc12d6da99ee8bd22ec38b75d347150babfc11 Mon Sep 17 00:00:00 2001 From: Bas van Boven Date: Sat, 30 Oct 2021 13:58:26 +0200 Subject: [PATCH 1/2] Update entrypoint.sh --- docker/entrypoint.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 850a97c8..6a1ffcb6 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -6,4 +6,9 @@ then export PULSE_COOKIE=$HOME/pulse.cookie fi -exec "$@" \ No newline at end of file +if [ ${PIP_PACKAGES:+x} ]; then + echo "-- INSTALLING PIP PACKAGES $PIP_PACKAGES --" + python3 -m pip install --no-cache $PIP_PACKAGES +fi + +exec "$@" From 78a807e2c8aa3a2fe37ae2d8d10b76d00f287fa4 Mon Sep 17 00:00:00 2001 From: Bas van Boven Date: Sat, 30 Oct 2021 14:06:24 +0200 Subject: [PATCH 2/2] Update entrypoint.sh --- docker/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 6a1ffcb6..aec10362 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -7,8 +7,8 @@ then fi if [ ${PIP_PACKAGES:+x} ]; then - echo "-- INSTALLING PIP PACKAGES $PIP_PACKAGES --" - python3 -m pip install --no-cache $PIP_PACKAGES + echo "-- INSTALLING PIP PACKAGES $PIP_PACKAGES --" + python3 -m pip install --no-cache $PIP_PACKAGES fi exec "$@"