docker-synapse/Dockerfile
Jan Christian Grünhage f7868ae828
All checks were successful
the build was successful
feat: migrate to baseimage
2018-01-06 11:35:52 +01:00

32 lines
642 B
Docker

FROM docker.jcg.re/base-alpine
MAINTAINER Jan Christian Grünhage <jan.christian@gruenhage.xyz>
RUN apk add --update \
python2 \
py-pip \
py-virtualenv \
py-setuptools \
python-dev \
postgresql-dev \
build-base \
linux-headers \
libffi-dev \
jpeg-dev \
tiff-dev \
bash \
sqlite \
su-exec \
openldap-dev \
&& pip install --upgrade \
setuptools \
cffi \
incremental \
python-ldap \
psycopg2 \
&& pip install https://github.com/matrix-org/synapse/tarball/master \
&& mkdir /data
ADD root /
VOLUME /data
EXPOSE 8448 8008