add package scripts for package install separation from initialization
parent
f2c9be5c29
commit
9b90e79d4d
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
echo install packages for alpine distro
|
||||
apk update; apk upgrade;
|
||||
pwd; ls -la
|
||||
echo ">>>> installing packages => alpine: $(cat ./packages); common: $(cat ../common/packages)"
|
||||
apk add --no-cache bash bash-completion $(cat ./packages) $(cat ../common/packages)
|
||||
# apk add bindfs --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
|
||||
# needed for useradd and groupadd
|
||||
apk add shadow --repository=http://dl-2.alpinelinux.org/alpine/edge/community
|
|
@ -0,0 +1,2 @@
|
|||
ca-certificates
|
||||
gpg
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
echo install packages for ubuntu distro
|
||||
apt-get update
|
||||
echo ">>>> installing packages => $(cat packages) $(cat common-packages)"
|
||||
apt-get install $(cat packages) $(cat ../common/packages) -y
|
||||
/bin/bash add-ppa.sh -i -p git git-core/ppa
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
echo "installing packages...."
|
||||
cd ${LINUX_DISTRO} || exit 1
|
||||
/bin/sh packages.sh
|
||||
cd ..
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
echo install packages for ubuntu distro
|
||||
apt-get update
|
||||
echo ">>>> installing packages => $(cat packages) $(cat common-packages)"
|
||||
apt-get install $(cat packages) $(cat ../common/packages) -y
|
||||
# ./add-ppa.sh -i -p git git-core/ppa
|
Loading…
Reference in New Issue