make baseImage an array
This commit is contained in:
@@ -156,7 +156,7 @@ apt-get install -y python # Install python which is required for npm rebuild
|
||||
|
||||
echo "==== Downloading docker images ===="
|
||||
if [ -f ${SOURCE_DIR}/infra_version.js ]; then
|
||||
images=$(node -e "var i = require('${SOURCE_DIR}/infra_version.js'); console.log(i.baseImage, Object.keys(i.images).map(function (x) { return i.images[x].tag; }).join(' '));")
|
||||
images=$(node -e "var i = require('${SOURCE_DIR}/infra_version.js'); console.log(i.baseImages.join(' '), Object.keys(i.images).map(function (x) { return i.images[x].tag; }).join(' '));")
|
||||
|
||||
echo "Pulling images: ${images}"
|
||||
for image in ${images}; do
|
||||
|
||||
@@ -8,7 +8,7 @@ exports = module.exports = {
|
||||
// a version bump means that all containers (apps and addons) are recreated
|
||||
'version': 40,
|
||||
|
||||
'baseImage': 'cloudron/base:0.8.1',
|
||||
'baseImages': [ 'cloudron/base:0.8.1', 'cloudron/base:0.9.0' ],
|
||||
|
||||
'images': {
|
||||
'mysql': { repo: 'cloudron/mysql', tag: 'cloudron/mysql:0.12.0' },
|
||||
|
||||
Reference in New Issue
Block a user