Skip to content

Commit 609bd5e

Browse files
committed
In beforeInstall.sh, installed mysql client and redis client as well as added aliases to connect to those databases.
1 parent 8cb05b3 commit 609bd5e

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

scripts/beforeInstall.sh

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,19 @@ sudo -u ubuntu -g ubuntu cp $BUILD_FILES/.vimrc $HOME/.vimrc
103103

104104
echo "Appending text to .bashrc"
105105
cat $BUILD_FILES/append-to-bashrc.txt >> ~/.bashrc
106+
cat $BUILD_FILES/$env/append-to-bashrc.txt >> ~/.bashrc
106107
source ~/.bashrc
107108

108-
echo "Installing tree"
109-
apt-get install tree -y
110-
111109
echo "Copying message of the day file to update-motd.d folder to display notes on login"
112110
cp $BUILD_FILES/99-notes /etc/update-motd.d/99-notes
113-
chmod 755 /etc/update-motd.d/99-notes
111+
cat $BUILD_FILES/$env/append-to-99-notes.txt >> /etc/update-motd.d/99-notes
112+
chmod 755 /etc/update-motd.d/99-notes
113+
114+
echo "Install mysql client"
115+
apt-get install mysql-client-core-8.0 -y
116+
117+
echo "Install redis client"
118+
apt-get install redis-tools -y
119+
120+
echo "Installing tree"
121+
apt-get install tree -y

0 commit comments

Comments
 (0)