temporarily use self built apks

This commit is contained in:
Sebastian Hugentobler 2018-05-23 16:58:50 +02:00
parent f209d68d02
commit e1c324286d
3 changed files with 36 additions and 55 deletions

View File

@ -1,68 +1,49 @@
FROM quay.io/thallian/confd-env:latest FROM registry.gitlab.com/thallian/docker-confd-env:master
ENV VERSION v0.22.0-rc2 ENV VERSION v0.30.0-rc1
RUN addgroup -g 2222 synapse RUN addgroup -g 2222 synapse
RUN adduser -h /var/lib/synapse -u 2222 -D -G synapse synapse RUN adduser -h /var/lib/synapse -u 2222 -D -G synapse synapse
RUN apk add --no-cache \ RUN apk add --no-cache \
libressl \ libressl \
bash \
coreutils \
curl \
file \
gcc \
libpq \
postgresql-dev \
libffi \
libffi-dev \
libjpeg-turbo \
libjpeg-turbo-dev \
libssl1.0 \
libtool \
libxml2 \
libxml2-dev \
libxslt \
libxslt-dev \
linux-headers \
make \
musl \
musl-dev \
libressl-dev \
pwgen \
py2-pip \
py-virtualenv \
python2 \ python2 \
python2-dev \ py2-pip \
sqlite \ py2-psycopg2 \
sqlite-libs \ py2-cffi \
unzip \ py2-msgpack \
zlib \ py2-psutil \
zlib-dev py2-openssl \
py2-service_identity \
py2-yaml \
py2-pillow \
py2-asn1 \
py2-phonenumbers \
py2-six \
py2-netaddr \
py2-jsonschema \
py-jinja2 \
py-twisted \
py2-requests \
py2-future \
py2-tz \
py2-dateutil \
py2-olefile \
py2-markupsafe \
py2-zope-interface \
py2-simplejson \
py2-chardet \
py2-certifi \
py2-bcrypt
RUN virtualenv -p python /var/lib/synapse RUN apk --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/main add py2-pynacl
RUN source /var/lib/synapse/bin/activate && \
pip install --upgrade setuptools && \
pip install psycopg2 && \
pip install https://github.com/matrix-org/synapse/tarball/$VERSION
RUN apk del \ COPY py-affinity-0.1.0-r0.apk /tmp/py-affinity-0.1.0-r0.apk
coreutils \ COPY py2-blist-1.3.6-r0.apk /tmp/py2-blist-1.3.6-r0.apk
file \
gcc \ RUN apk --allow-untrusted add /tmp/py-affinity-0.1.0-r0.apk /tmp/py2-blist-1.3.6-r0.apk
postgresql-dev \
libffi-dev \ RUN pip install https://github.com/matrix-org/synapse/tarball/$VERSION
libjpeg-turbo-dev \
libtool \
libxml2-dev \
libxslt-dev \
linux-headers \
make \
musl-dev \
libressl-dev \
python-dev \
sqlite-libs \
zlib-dev
ADD /rootfs / ADD /rootfs /

BIN
py-affinity-0.1.0-r0.apk Normal file

Binary file not shown.

BIN
py2-blist-1.3.6-r0.apk Normal file

Binary file not shown.