push to version 0.99.1.1

This commit is contained in:
Sebastian Hugentobler 2019-02-15 11:16:04 +01:00
parent 4f2af6ba02
commit 97f8c47589
4 changed files with 835 additions and 69 deletions

View file

@ -1,52 +1,34 @@
FROM alpine:3.9 AS builder
ENV VERSION 0.99.1.1
RUN apk add --no-cache \
alpine-sdk \
python3-dev
python3-dev \
libffi-dev \
openssl-dev \
zlib-dev \
jpeg-dev
RUN pip3 install wheel
RUN pip3 wheel twisted==17.5.0
RUN pip3 wheel matrix-synapse==$VERSION
FROM thallian/confd-env:latest
ENV VERSION v0.34.1.1
RUN addgroup -g 2222 matrix-synapse
RUN adduser -h /var/lib/matrix-synapse -u 2222 -D -G matrix-synapse matrix-synapse
RUN apk add --no-cache \
libressl \
python3 \
py3-jsonschema \
py3-pynacl \
py3-cffi \
py3-service_identity \
py3-openssl \
py3-yaml \
py3-asn1 \
py3-asn1-modules \
py3-bcrypt \
py3-pillow \
py3-psutil \
py3-msgpack \
py3-phonenumbers \
py3-attrs \
py3-netaddr \
py3-jinja2 \
py3-psycopg2 \
py3-simplejson \
py3-zope-interface \
py3-requests \
py3-defusedxml \
py3-future \
py3-dateutil \
py3-ldap3
libffi \
openssl \
zlib \
jpeg
RUN mkdir /tmp/wheels
COPY --from=builder /Twisted*.whl /tmp/wheels
COPY --from=builder /*.whl /tmp/wheels/
RUN pip3 install /tmp/wheels/*.whl
RUN pip3 install https://github.com/matrix-org/synapse/tarball/$VERSION
ADD /rootfs /