push version to v0.19.2
This commit is contained in:
parent
e73b2cdef5
commit
0e28623926
148
Dockerfile
148
Dockerfile
@ -1,74 +1,74 @@
|
|||||||
FROM quay.io/thallian/confd-env:latest
|
FROM quay.io/thallian/confd-env:latest
|
||||||
|
|
||||||
ENV VERSION v0.19.1
|
ENV VERSION v0.19.2
|
||||||
|
|
||||||
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 \
|
bash \
|
||||||
coreutils \
|
coreutils \
|
||||||
curl \
|
curl \
|
||||||
file \
|
file \
|
||||||
gcc \
|
gcc \
|
||||||
libpq \
|
libpq \
|
||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
libffi \
|
libffi \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
libjpeg-turbo \
|
libjpeg-turbo \
|
||||||
libjpeg-turbo-dev \
|
libjpeg-turbo-dev \
|
||||||
libssl1.0 \
|
libssl1.0 \
|
||||||
libtool \
|
libtool \
|
||||||
libxml2 \
|
libxml2 \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libxslt \
|
libxslt \
|
||||||
libxslt-dev \
|
libxslt-dev \
|
||||||
linux-headers \
|
linux-headers \
|
||||||
make \
|
make \
|
||||||
musl \
|
musl \
|
||||||
musl-dev \
|
musl-dev \
|
||||||
libressl-dev \
|
libressl-dev \
|
||||||
pwgen \
|
pwgen \
|
||||||
py2-pip \
|
py2-pip \
|
||||||
py-virtualenv \
|
py-virtualenv \
|
||||||
python2 \
|
python2 \
|
||||||
python2-dev \
|
python2-dev \
|
||||||
sqlite \
|
sqlite \
|
||||||
sqlite-libs \
|
sqlite-libs \
|
||||||
unzip \
|
unzip \
|
||||||
zlib \
|
zlib \
|
||||||
zlib-dev
|
zlib-dev
|
||||||
|
|
||||||
RUN virtualenv -p python /var/lib/synapse
|
RUN virtualenv -p python /var/lib/synapse
|
||||||
RUN source /var/lib/synapse/bin/activate && \
|
RUN source /var/lib/synapse/bin/activate && \
|
||||||
pip install --upgrade setuptools && \
|
pip install --upgrade setuptools && \
|
||||||
pip install psycopg2 && \
|
pip install psycopg2 && \
|
||||||
pip install https://github.com/matrix-org/synapse/tarball/$VERSION
|
pip install https://github.com/matrix-org/synapse/tarball/$VERSION
|
||||||
|
|
||||||
RUN apk del \
|
RUN apk del \
|
||||||
coreutils \
|
coreutils \
|
||||||
file \
|
file \
|
||||||
gcc \
|
gcc \
|
||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
libjpeg-turbo-dev \
|
libjpeg-turbo-dev \
|
||||||
libtool \
|
libtool \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libxslt-dev \
|
libxslt-dev \
|
||||||
linux-headers \
|
linux-headers \
|
||||||
make \
|
make \
|
||||||
musl-dev \
|
musl-dev \
|
||||||
libressl-dev \
|
libressl-dev \
|
||||||
python-dev \
|
python-dev \
|
||||||
sqlite-libs \
|
sqlite-libs \
|
||||||
zlib-dev
|
zlib-dev
|
||||||
|
|
||||||
ADD /rootfs /
|
ADD /rootfs /
|
||||||
|
|
||||||
RUN chown -R synapse:synapse /var/lib/synapse
|
RUN chown -R synapse:synapse /var/lib/synapse
|
||||||
ENV HOME /var/lib/synapse
|
ENV HOME /var/lib/synapse
|
||||||
|
|
||||||
EXPOSE 8448
|
EXPOSE 8448
|
||||||
|
|
||||||
VOLUME /var/lib/synapse/media_store/ /var/lib/synapse/uploads /var/lib/synapse/signing/ /etc/ssl/synapse/
|
VOLUME /var/lib/synapse/media_store/ /var/lib/synapse/uploads /var/lib/synapse/signing/ /etc/ssl/synapse/
|
||||||
|
Loading…
Reference in New Issue
Block a user