Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit e17c7f6

Browse files
committed
added zip/unzip utilities, fixed 'Error opening terminal: unknown' for older Docker versions.
1 parent a3fd595 commit e17c7f6

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

provision/provision.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ pip install --upgrade pip
2323
mkdir -p /etc/supervisord/
2424
mkdir /var/log/supervisor
2525
cp /provision/conf/supervisor.conf /etc/supervisord.conf
26-
cp /provision/service/* /etc/supervisord/
2726

2827
# install
2928
pip install supervisor
@@ -40,6 +39,18 @@ apt-get -y install cron
4039

4140
apt-get -y install nano
4241

42+
# Fix 'Error opening terminal: unknown' in docker exec for older Docker versions
43+
# askubuntu.com/questions/736101
44+
# https://github.com/docker/docker/issues/9299
45+
# http://stackoverflow.com/questions/27826241
46+
echo 'export TERM=xterm' >> /etc/bash.bashrc
47+
48+
# ------------------------------------------------------------------------------
49+
# Zip and unzip
50+
# ------------------------------------------------------------------------------
51+
52+
apt-get -y zip unzip
53+
4354
# ------------------------------------------------------------------------------
4455
# Git version control
4556
# ------------------------------------------------------------------------------

0 commit comments

Comments
 (0)