-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
52 lines (46 loc) · 894 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/sh -e
export DEBIAN_FRONTEND=noninteractive
echo "deb [arch=amd64] http://storage.googleapis.com/tensorflow-serving-apt stable tensorflow-model-server tensorflow-model-server-universal" | tee /etc/apt/sources.list.d/tensorflow-serving.list
curl https://storage.googleapis.com/tensorflow-serving-apt/tensorflow-serving.release.pub.gpg | apt-key add -
apt-get update
apt-get upgrade -y
PACKAGES=$(xargs <<EOF
build-essential
curl
git
nano
wget
python3-dev
python3-setuptools
python3-tk
python3-wheel
python-psycopg2
python3-pip
tensorflow-model-server
gfortran
swig
libagg-dev
libatlas-dev
libffi-dev
libfreetype6-dev
liblapack-dev
libncurses5-dev
libopenblas-dev
libpng12-dev
libpq-dev
libzmq3-dev
libxft-dev
libxml2-dev
libxslt-dev
zlib1g-dev
mlocate
pkg-config
ttf-bitstream-vera
software-properties-common
zip
libcurl3-dev
libsm6
EOF
)
apt-get install -y $PACKAGES
apt-get clean