Skip to content

Commit 8d42400

Browse files
authored
pywcmp bundle sync (#988)
1 parent 9f04f08 commit 8d42400

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

wis2box-management/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ RUN cd /app \
6868
# add wis2box user
6969
&& useradd -ms /bin/bash wis2box
7070

71+
RUN pywcmp bundle sync
72+
7173
WORKDIR /home/wis2box
7274

7375
# add wis2box.cron to crontab

wis2box-management/docker/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ if [ ! -f /data/wis2box/.ssh/id_rsa ]; then
5050
echo "MinIO is available, proceed with setup"
5151
fi
5252

53-
pywcmp bundle sync
53+
# run pywcmp bundle sync in background to avoid hanging in case of network issues
54+
pywcmp bundle sync &
5455

5556
# wis2box commands
5657
# TODO: avoid re-creating environment if it already exists

0 commit comments

Comments
 (0)