push version to v0.19.1
This commit is contained in:
parent
bb62fab32c
commit
e73b2cdef5
148
Dockerfile
148
Dockerfile
@ -1,74 +1,74 @@
|
||||
FROM quay.io/thallian/confd-env:latest
|
||||
|
||||
ENV VERSION v0.19.0
|
||||
|
||||
RUN addgroup -g 2222 synapse
|
||||
RUN adduser -h /var/lib/synapse -u 2222 -D -G synapse synapse
|
||||
|
||||
RUN apk add --no-cache \
|
||||
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-dev \
|
||||
sqlite \
|
||||
sqlite-libs \
|
||||
unzip \
|
||||
zlib \
|
||||
zlib-dev
|
||||
|
||||
RUN virtualenv -p python /var/lib/synapse
|
||||
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 \
|
||||
coreutils \
|
||||
file \
|
||||
gcc \
|
||||
postgresql-dev \
|
||||
libffi-dev \
|
||||
libjpeg-turbo-dev \
|
||||
libtool \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
linux-headers \
|
||||
make \
|
||||
musl-dev \
|
||||
libressl-dev \
|
||||
python-dev \
|
||||
sqlite-libs \
|
||||
zlib-dev
|
||||
|
||||
ADD /rootfs /
|
||||
|
||||
RUN chown -R synapse:synapse /var/lib/synapse
|
||||
ENV HOME /var/lib/synapse
|
||||
|
||||
EXPOSE 8448
|
||||
|
||||
VOLUME /var/lib/synapse/media_store/ /var/lib/synapse/uploads /var/lib/synapse/signing/ /etc/ssl/synapse/
|
||||
FROM quay.io/thallian/confd-env:latest
|
||||
|
||||
ENV VERSION v0.19.1
|
||||
|
||||
RUN addgroup -g 2222 synapse
|
||||
RUN adduser -h /var/lib/synapse -u 2222 -D -G synapse synapse
|
||||
|
||||
RUN apk add --no-cache \
|
||||
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-dev \
|
||||
sqlite \
|
||||
sqlite-libs \
|
||||
unzip \
|
||||
zlib \
|
||||
zlib-dev
|
||||
|
||||
RUN virtualenv -p python /var/lib/synapse
|
||||
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 \
|
||||
coreutils \
|
||||
file \
|
||||
gcc \
|
||||
postgresql-dev \
|
||||
libffi-dev \
|
||||
libjpeg-turbo-dev \
|
||||
libtool \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
linux-headers \
|
||||
make \
|
||||
musl-dev \
|
||||
libressl-dev \
|
||||
python-dev \
|
||||
sqlite-libs \
|
||||
zlib-dev
|
||||
|
||||
ADD /rootfs /
|
||||
|
||||
RUN chown -R synapse:synapse /var/lib/synapse
|
||||
ENV HOME /var/lib/synapse
|
||||
|
||||
EXPOSE 8448
|
||||
|
||||
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