make baseImage an array

This commit is contained in:
Girish Ramakrishnan
2016-08-20 10:24:29 -07:00
parent 15e6873c14
commit 5b53280cd4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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' },