Skip to content

Commit 9e01930

Browse files
authored
Merge pull request #8 from solidnerd/update-dockerfile
Update Dockerfile
2 parents fcde78d + 869df06 commit 9e01930

4 files changed

Lines changed: 9 additions & 11 deletions

File tree

Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@ FROM alpine:3.4
22
MAINTAINER Niclas Mietz niclas@mietz.io
33

44
ENV RAINLOOP_VERSION 1.10.4.183
5-
ENV RAINLOOP_BUILD /etc/rainloop
6-
ENV RAINLOOP_HOME /var/www/rainloop
7-
ENV RAINLOOP_EDITION rainloop-community-latest.zip
8-
ENV RAINLOOP_DOWNLOAD http://repository.rainloop.net/v2/webmail/${RAINLOOP_EDITION}
9-
ENV RAINLOOP_CLONE_URL "https://github.com/RainLoop/rainloop-webmail.git"
105

11-
ENV REQUIRED_PACKAGES apache2 php5-apache2 php5-openssl php5-xml php5-json php5-iconv php5-curl php5-pdo_mysql php5-pdo_pgsql php5-pdo_sqlite php5-dom php5-zlib
6+
ENV RAINLOOP_BUILD="/etc/rainloop" \
7+
RAINLOOP_HOME="/var/www/rainloop" \
8+
RAINLOOP_CLONE_URL="https://github.com/RainLoop/rainloop-webmail.git" \
9+
REQUIRED_PACKAGES="apache2 php5-apache2 php5-openssl php5-xml php5-json php5-iconv php5-curl php5-pdo_mysql php5-pdo_pgsql php5-pdo_sqlite php5-dom php5-zlib"
1210

1311
RUN \
14-
apk add -U $REQUIRED_PACKAGES && \
12+
apk add --no-cache $REQUIRED_PACKAGES && \
1513
mkdir -p /run/apache2 && \
1614
rm -fr /var/cache/apk/* && \
1715
rm -fr /usr/bin/php

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A minimalistic docker version of [Rainloop Community Edition](http://www.rainloo
1010
To Start the container use the following command.
1111

1212
```
13-
docker run -d -p "80:80" solidnerd/rainloop:1.10.4.183
13+
docker run -d -p "80:80" solidnerd/rainloop:1.10.4.183-1
1414
```
1515

1616
**or**
@@ -24,7 +24,7 @@ use [docker-compose](https://github.com/docker/compose) .
2424
## Save the Rainloop data persistent
2525
If you want the Rainloop data persistent than use the exposed Volume with a command like this:
2626
```
27-
docker run -d -p "80:80" -v $(pwd)/data:/var/www/rainloop/data solidnerd/rainloop:1.10.4.183
27+
docker run -d -p "80:80" -v $(pwd)/data:/var/www/rainloop/data solidnerd/rainloop:1.10.4.183-1
2828
```
2929

3030
## Rainloop Specifica

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.10.4.183
1+
1.10.4.183-1

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '2'
22
services:
33
rainloop:
44
container_name: "rainloop"
5-
image: solidnerd/rainloop
5+
image: solidnerd/rainloop:1.10.4.183-1
66
volumes:
77
- ./data:/var/www/rainloop/data
88
ports:

0 commit comments

Comments
 (0)