|
|
@ -250,16 +250,16 @@ case $mode in |
|
|
|
done |
|
|
|
done |
|
|
|
docker exec ${DOCKER_ID} apt-get update ${OPTIONS} |
|
|
|
docker exec ${DOCKER_ID} apt-get update ${OPTIONS} |
|
|
|
docker exec ${DOCKER_ID} apt-get upgrade ${OPTIONS} |
|
|
|
docker exec ${DOCKER_ID} apt-get upgrade ${OPTIONS} |
|
|
|
docker exec ${DOCKER_ID} apt-get install ${OPTIONS} python-software-properties software-properties-common apt-transport-https dpkg-dev lsb-release || \ |
|
|
|
docker exec ${DOCKER_ID} apt-get install ${OPTIONS} python-software-properties software-properties-common apt-transport-https dpkg-dev lsb-release wget || \ |
|
|
|
docker exec ${DOCKER_ID} apt-get install ${OPTIONS} software-properties-common apt-transport-https dpkg-dev lsb-release || \ |
|
|
|
docker exec ${DOCKER_ID} apt-get install ${OPTIONS} software-properties-common apt-transport-https dpkg-dev lsb-release wget || \ |
|
|
|
docker exec ${DOCKER_ID} apt-get install ${OPTIONS} python-software-properties apt-transport-https dpkg-dev lsb-release; |
|
|
|
docker exec ${DOCKER_ID} apt-get install ${OPTIONS} python-software-properties apt-transport-https dpkg-dev lsb-release wget; |
|
|
|
for repo in "${repos[@]}"; do |
|
|
|
|
|
|
|
ifthenelse "${repo}" "apt-add-repository 'ARG'" |
|
|
|
|
|
|
|
done |
|
|
|
|
|
|
|
for key in "${keys[@]}"; do |
|
|
|
for key in "${keys[@]}"; do |
|
|
|
wget -O- "$key" \ |
|
|
|
wget -O- "$key" \ |
|
|
|
| docker exec -i ${DOCKER_ID} apt-key add - |
|
|
|
| docker exec -i ${DOCKER_ID} apt-key add - |
|
|
|
done |
|
|
|
done |
|
|
|
|
|
|
|
for repo in "${repos[@]}"; do |
|
|
|
|
|
|
|
ifthenelse "${repo}" "apt-add-repository 'ARG'" |
|
|
|
|
|
|
|
done |
|
|
|
docker exec ${DOCKER_ID} apt-get update ${OPTIONS} |
|
|
|
docker exec ${DOCKER_ID} apt-get update ${OPTIONS} |
|
|
|
for package in "${packages[@]}"; do |
|
|
|
for package in "${packages[@]}"; do |
|
|
|
ifthenelse "${package}" "apt-get install ${OPTIONS} ARG" |
|
|
|
ifthenelse "${package}" "apt-get install ${OPTIONS} ARG" |
|
|
|