doc: base image 0.9.0

This commit is contained in:
Girish Ramakrishnan
2016-08-20 10:22:32 -07:00
parent f3978897ae
commit 15e6873c14
+22 -29
View File
@@ -2,7 +2,7 @@
## Overview
The application's Dockerfile must specify the FROM base image to be `cloudron/base:0.8.1`.
The application's Dockerfile must specify the FROM base image to be `cloudron/base:0.9.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,23 +17,23 @@ application can use.
The following packages are part of the base image. If you need another version, you will have to
install it yourself.
* Apache 2.4.10
* Composer 1.0 (alpha 10)
* Go 1.5.1
* Gunicorn 19.0.0
* Java 1.7, JRE IcedTea 2.5.5
* Maven 3.0.5
* MySQL Client 5.6
* nginx 1.6.2
* Node 0.10.40, 0.12.7, 4.2.1 (installed under `/usr/local/node-<version>`) [more information](#node-js)
* Perl 5.20.1
* PHP 5.5.12
* Postgresql client 9.4
* Python 2.7.8
* Ruby 2.1.2
* sqlite3 3.8.6
* Supervisor 3.0
* uwsgi 2.0.6
* Apache 2.4.18
* Composer 1.2.0
* Go 1.5.4, 1.6.3
* Gunicorn 19.4.5
* Java 1.8
* Maven 3.3.9
* MySQL Client 5.7.13
* nginx 1.10.0
* Node 0.10.40, 0.12.7, 4.2.6, 4.4.7 (installed under `/usr/local/node-<version>`) [more information](#node-js)
* Perl 5.22.1
* PHP 7.0.8
* Postgresql client 9.5.4
* Python 2.7.12
* Ruby 2.3.1
* sqlite3 3.11.0
* Supervisor 3.2.0
* uwsgi 2.0.12
## Inspecting the base image
@@ -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.8.1
docker pull cloudron/base:0.9.0
```
To inspect the base image:
```
docker run -ti cloudron/base:0.8.1 /bin/bash
docker run -ti cloudron/base:0.9.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.8.1` is `d038af182821`.
image with an incorrect image id. The image id of `cloudron/base:0.9.0` is `d038af182821`.
## The `cloudron` user
@@ -85,17 +85,10 @@ CLOUDRON is always set to '1'. This is useful to write Cloudron specific code.
WEBADMIN_ORIGIN is set to the HTTP(S) origin of the Cloudron's web admin. For example,
`https://my-girish.cloudron.us`.
## Recipes
We have collected some recipes for configuring popular packages [here](/references/recipes.html).
## Node.js
The base image comes pre-installed with various node.js versions.
They can be used by adding `ENV PATH /usr/local/node-<version>/bin:$PATH`.
Currently available versions are:
* 0.10.40
* 0.12.7
* 4.2.1
See (/references/baseimage.html#packages) for available versions.