diff --git a/src/alpine/packages.sh b/src/alpine/packages.sh new file mode 100644 index 0000000..4ef529e --- /dev/null +++ b/src/alpine/packages.sh @@ -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 diff --git a/src/debian/packages b/src/debian/packages new file mode 100644 index 0000000..a8bfc18 --- /dev/null +++ b/src/debian/packages @@ -0,0 +1,2 @@ +ca-certificates +gpg \ No newline at end of file diff --git a/src/debian/packages.sh b/src/debian/packages.sh new file mode 100644 index 0000000..144917e --- /dev/null +++ b/src/debian/packages.sh @@ -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 diff --git a/src/packages.sh b/src/packages.sh new file mode 100644 index 0000000..6557204 --- /dev/null +++ b/src/packages.sh @@ -0,0 +1,6 @@ +#!/bin/sh + echo "installing packages...." + cd ${LINUX_DISTRO} || exit 1 +/bin/sh packages.sh + cd .. + \ No newline at end of file diff --git a/src/ubuntu/packages.sh b/src/ubuntu/packages.sh new file mode 100644 index 0000000..5ff2310 --- /dev/null +++ b/src/ubuntu/packages.sh @@ -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