diff --git a/CHANGES b/CHANGES index 9236ebf24..546ded7c5 100644 --- a/CHANGES +++ b/CHANGES @@ -749,6 +749,7 @@ * Fix crash in LDAP server when username and displayName are empty [0.101.0] +* New base image 0.10.0 * Better error handling of unpurchase errors * Validate that cloudron domain name is a subdomain of public suffic list * Add canada and london to S3 backup regions diff --git a/docs/references/baseimage.md b/docs/references/baseimage.md index 564a56855..2e33d31a7 100644 --- a/docs/references/baseimage.md +++ b/docs/references/baseimage.md @@ -1,6 +1,6 @@ # Overview -The application's Dockerfile must specify the FROM base image to be `cloudron/base:0.9.0`. +The application's Dockerfile must specify the FROM base image to be `cloudron/base:0.10.0`. The base image already contains most popular software packages including node, nginx, apache, ruby, PHP. Using the base image greatly reduces the size of app images. @@ -17,16 +17,16 @@ install it yourself. * Apache 2.4.18 * Composer 1.2.0 -* Go 1.5.4, 1.6.3 +* Go 1.6.4, 1.7.5 (install under `/usr/local/go-`) * Gunicorn 19.4.5 * Java 1.8 * Maven 3.3.9 * Mongo 2.6.10 -* MySQL Client 5.7.13 +* MySQL Client 5.7.17 * nginx 1.10.0 -* Node 0.10.40, 0.12.7, 4.2.6, 4.4.7 (installed under `/usr/local/node-`) [more information](#node-js) +* Node 0.10.48, 0.12.18, 4.7.3, 6.9.5 (installed under `/usr/local/node-`) [more information](#node-js) * Perl 5.22.1 -* PHP 7.0.8 +* PHP 7.0.13 * Postgresql client 9.5.4 * Python 2.7.12 * Redis 3.0.6 @@ -41,16 +41,16 @@ The base image can be inspected by installing [Docker](https://docs.docker.com/i Once installed, pull down the base image locally using the following command: ``` - docker pull cloudron/base:0.9.0 + docker pull cloudron/base:0.10.0 ``` To inspect the base image: ``` - docker run -ti cloudron/base:0.9.0 /bin/bash + docker run -ti cloudron/base:0.10.0 /bin/bash ``` *Note:* Please use `docker 1.9.0` or above to pull the base image. Doing otherwise results in a base -image with an incorrect image id. The image id of `cloudron/base:0.9.0` is `d038af182821`. +image with an incorrect image id. The image id of `cloudron/base:0.10.0` is `5ec8ca8525be`. # The `cloudron` user diff --git a/docs/tutorials/node.md b/docs/tutorials/node.md index 0c76440fd..e6a67b2d8 100644 --- a/docs/tutorials/node.md +++ b/docs/tutorials/node.md @@ -75,7 +75,7 @@ A Dockerfile contains commands to assemble an image. Create a file named `tutorial/Dockerfile` with the following content: ```dockerfile -FROM cloudron/base:0.9.0 +FROM cloudron/base:0.10.0 ADD server.js /app/code/server.js @@ -171,7 +171,7 @@ Login successful. Build scheduled with id 76cebfdd-7822-4f3d-af17-b3eb393ae604 Downloading source Building -Step 0 : FROM cloudron/base:0.9.0 +Step 0 : FROM cloudron/base:0.10.0 ---> 97583855cc0c Step 1 : ADD server.js /app/code ---> b09b97ecdfbc @@ -333,7 +333,7 @@ and modify our Dockerfile to look like this: File `tutorial/Dockerfile` ```dockerfile -FROM cloudron/base:0.9.0 +FROM cloudron/base:0.10.0 ADD server.js /app/code/server.js ADD package.json /app/code/package.json diff --git a/docs/tutorials/packaging.md b/docs/tutorials/packaging.md index 323f41b4b..639cdb3c4 100644 --- a/docs/tutorials/packaging.md +++ b/docs/tutorials/packaging.md @@ -79,7 +79,7 @@ console.log("Server running at port 8000"); The Dockerfile contains instructions on how to create an image for your application. ```Dockerfile -FROM cloudron/base:0.9.0 +FROM cloudron/base:0.10.0 ADD server.js /app/code/server.js @@ -188,7 +188,7 @@ Build scheduled with id e7706847-f2e3-4ba2-9638-3f334a9453a5 Waiting for build to begin, this may take a bit... Downloading source Building -Step 1 : FROM cloudron/base:0.9.0 +Step 1 : FROM cloudron/base:0.10.0 ---> be9fc6312b2d Step 2 : ADD server.js /app/code/server.js ---> 10513e428d7a diff --git a/src/apphealthmonitor.js b/src/apphealthmonitor.js index dd6be6451..7653a100c 100644 --- a/src/apphealthmonitor.js +++ b/src/apphealthmonitor.js @@ -138,7 +138,7 @@ function run() { /* OOM can be tested using stress tool like so: - docker run -ti -m 100M cloudron/base:0.9.0 /bin/bash + docker run -ti -m 100M cloudron/base:0.10.0 /bin/bash apt-get update && apt-get install stress stress --vm 1 --vm-bytes 200M --vm-hang 0 */