-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (19 loc) · 840 Bytes
/
Copy pathDockerfile
File metadata and controls
23 lines (19 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# select operating system
FROM debian:8
# install operating system packages
RUN apt-get update -y && apt-get install make git gettext -y && \
apt-key adv --keyserver keys.gnupg.net --recv-key 0x810273C4 && \
apt-get update && \
apt-get install apt-transport-https -y && \
echo "deb http://packages.inverse.ca/SOGo/nightly/4/debian/ jessie jessie" >> /etc/apt/sources.list && \
apt-get update && \
apt-get install sogo sope4.9-gdl1-postgresql sope4.9-gdl1-mysql mysql-client nginx -y
# use bpkg to handle complex bash entrypoints
RUN curl -Lo- "https://raw.githubusercontent.com/bpkg/bpkg/master/setup.sh" | bash
RUN bpkg install cha87de/bashutil -g
# add config and init files
ADD config /opt/docker-config
ADD init /opt/docker-init
# start from init folder
WORKDIR /opt/docker-init
ENTRYPOINT ["./entrypoint"]