fix b2, add psql 10\11\12 support
This commit is contained in:
@@ -11,9 +11,9 @@ apt-get install -y ca-certificates mysql-client nfs-common git wget python-setup
|
||||
# TODO добавить поддержку нескольких версий и по кейсу понимать какую надо подставлять
|
||||
curl -s https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
|
||||
|
||||
echo "deb http://apt.postgresql.org/pub/repos/apt/ bionic"-pgdg main | tee /etc/apt/sources.list.d/pgdg.list
|
||||
echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list
|
||||
|
||||
apt update && apt -y install postgresql-client-common postgresql-client-11 -y
|
||||
apt update && apt-get install -y postgresql-client-10 postgresql-client-11 postgresql-client-12 mysql-client nfs-common
|
||||
|
||||
# mongo
|
||||
wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add -
|
||||
@@ -34,8 +34,12 @@ wget -O s3tools.tar.gz https://sourceforge.net/projects/s3tools/files/s3cmd/2.0.
|
||||
|
||||
# b2
|
||||
echo -e "\n====> Install B2"
|
||||
git clone https://github.com/Backblaze/B2_Command_Line_Tool.git && \
|
||||
( cd B2_Command_Line_Tool && python setup.py install ) && rm -rf B2_Command_Line_Tool
|
||||
# git clone https://github.com/Backblaze/B2_Command_Line_Tool.git && \
|
||||
# ( cd B2_Command_Line_Tool && python setup.py install ) && rm -rf B2_Command_Line_Tool
|
||||
apt-get install python-pip python-dev build-essential -y
|
||||
pip install --upgrade pip
|
||||
pip install --upgrade b2==1.4.2
|
||||
|
||||
|
||||
# # git-lfs
|
||||
# echo -e "\n====> Install git-lfs"
|
||||
|
||||
Reference in New Issue
Block a user