Code Review
/
icn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Fix unbound variable error"
[icn.git]
/
env
/
cd_package_installer.sh
diff --git
a/env/cd_package_installer.sh
b/env/cd_package_installer.sh
index
e6641d6
..
71bae01
100755
(executable)
--- a/
env/cd_package_installer.sh
+++ b/
env/cd_package_installer.sh
@@
-10,6
+10,7
@@
function install_essential_packages {
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get -y install \
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get -y install \
+ ca-certificates \
crudini \
curl \
dnsmasq \
crudini \
curl \
dnsmasq \
@@
-17,14
+18,17
@@
function install_essential_packages {
nmap \
patch \
psmisc \
nmap \
patch \
psmisc \
- python-pip \
- python-requests \
- python-setuptools \
+ python
3
-pip \
+ python
3
-requests \
+ python
3
-setuptools \
vim \
wget \
git \
software-properties-common
vim \
wget \
git \
software-properties-common
+ update-alternatives --install /usr/bin/python python /usr/bin/python3 1
+ update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
+
add-apt-repository -y ppa:longsleep/golang-backports
apt-get update
apt-get install -y golang-go
add-apt-repository -y ppa:longsleep/golang-backports
apt-get update
apt-get install -y golang-go