You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
398 B
17 lines
398 B
#!/bin/bash
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
. $SCRIPT_DIR/_settings.sh || {
|
|
echo "no settings" && exit 1
|
|
}
|
|
|
|
function dot_version() {
|
|
sed -r 's/^([[:digit:]])/\1./g' <<< $1
|
|
}
|
|
|
|
for PHP_VERSION in "${PHP_VERSIONS[@]}"; do
|
|
PHP_IMAGE=$(dot_version ${PHP_VERSION})
|
|
|
|
docker pull "dimti/workspace:${PHP_IMAGE}"
|
|
docker pull "dimti/php:${PHP_IMAGE}"
|
|
done
|