Skip to content

Commit

Permalink
Merge pull request #8 from solidnerd/update-dockerfile
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
solidnerd committed Oct 15, 2016
2 parents fcde78d + 869df06 commit 9e01930
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@ FROM alpine:3.4
MAINTAINER Niclas Mietz niclas@mietz.io

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

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
ENV RAINLOOP_BUILD="/etc/rainloop" \
RAINLOOP_HOME="/var/www/rainloop" \
RAINLOOP_CLONE_URL="https://github.com/RainLoop/rainloop-webmail.git" \
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"

RUN \
apk add -U $REQUIRED_PACKAGES && \
apk add --no-cache $REQUIRED_PACKAGES && \
mkdir -p /run/apache2 && \
rm -fr /var/cache/apk/* && \
rm -fr /usr/bin/php
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A minimalistic docker version of [Rainloop Community Edition](http://www.rainloo
To Start the container use the following command.

```
docker run -d -p "80:80" solidnerd/rainloop:1.10.4.183
docker run -d -p "80:80" solidnerd/rainloop:1.10.4.183-1
```

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

## Rainloop Specifica
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.10.4.183
1.10.4.183-1
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '2'
services:
rainloop:
container_name: "rainloop"
image: solidnerd/rainloop
image: solidnerd/rainloop:1.10.4.183-1
volumes:
- ./data:/var/www/rainloop/data
ports:
Expand Down

0 comments on commit 9e01930

Please sign in to comment.