Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Julien Fastré | b1cf5438a5 | |
Julien Fastré | d3118c9609 | |
Julien Fastré | b70b835f1e | |
Julien Fastré | 758ef7e436 | |
Julien Fastré | 5a492407b6 |
|
@ -2,7 +2,7 @@ FROM ubuntu:16.04
|
||||||
|
|
||||||
MAINTAINER Julien Fastré <julienfastre@cvfe.be>
|
MAINTAINER Julien Fastré <julienfastre@cvfe.be>
|
||||||
|
|
||||||
ARG version=3.2.6a
|
ARG version=3.2.9
|
||||||
|
|
||||||
WORKDIR /tmp/build
|
WORKDIR /tmp/build
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ RUN echo "untar SOPE sources" \
|
||||||
postgresql-server-dev-9.5 \
|
postgresql-server-dev-9.5 \
|
||||||
libmemcached-dev \
|
libmemcached-dev \
|
||||||
libcurl4-openssl-dev \
|
libcurl4-openssl-dev \
|
||||||
|
tzdata \
|
||||||
&& echo "compiling sope & sogo" \
|
&& echo "compiling sope & sogo" \
|
||||||
&& cd /tmp/SOPE \
|
&& cd /tmp/SOPE \
|
||||||
&& ./configure --with-gnustep --enable-debug --disable-strip \
|
&& ./configure --with-gnustep --enable-debug --disable-strip \
|
||||||
|
|
|
@ -97,8 +97,8 @@ Example of how to build this image :
|
||||||
# download sources
|
# download sources
|
||||||
$ git clone https://framagit.org/julienfastre/docker-sogo.git
|
$ git clone https://framagit.org/julienfastre/docker-sogo.git
|
||||||
$ cd docker-sogo
|
$ cd docker-sogo
|
||||||
# launch the build using the version 3.1.5
|
# launch the build using specific version (replace with your own version)
|
||||||
$ docker build --build-arg version=3.1.5 .
|
$ docker build --build-arg version=x.x.x .
|
||||||
```
|
```
|
||||||
|
|
||||||
## migrating from 2.3 to 3.1|3.2 using docker-compose
|
## migrating from 2.3 to 3.1|3.2 using docker-compose
|
||||||
|
|
|
@ -8,7 +8,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
args:
|
||||||
- version=3.2.6a
|
- version=3.2.9
|
||||||
|
|
||||||
# if you want to use builded image, uncomment next line
|
# if you want to use builded image, uncomment next line
|
||||||
# image: julienfastre/sogo:3.2
|
# image: julienfastre/sogo:3.2
|
||||||
|
@ -20,6 +20,8 @@ services:
|
||||||
# replace by the path to your own sogo.conf file
|
# replace by the path to your own sogo.conf file
|
||||||
|
|
||||||
- ./../sogo.conf:/etc/sogo/sogo.conf
|
- ./../sogo.conf:/etc/sogo/sogo.conf
|
||||||
|
environment:
|
||||||
|
- "TZ=Europe/Amsterdam"
|
||||||
db:
|
db:
|
||||||
image: postgres:9.5
|
image: postgres:9.5
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in New Issue