KIWI 10.1.13 |
ENV PYTHON_VERSION=3.12 |
ENV SYNAPSE_VERSION=v1.118.0 |
/bin/sh -c dnf update -y --refresh |
/bin/sh -c dnf install -y python${PYTHON_VERSION} python-virtualenv libpq-devel g++ python${PYTHON_VERSION}-devel |
/bin/sh -c dnf clean all -y |
/bin/sh -c useradd -ms /bin/bash synapse |
USER synapse |
WORKDIR /app |
/bin/sh -c virtualenv -p python${PYTHON_VERSION} . && source ./bin/activate && pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir --upgrade setuptools && pip install --no-cache-dir matrix-synapse==${SYNAPSE_VERSION} && pip install --no-cache-dir lxml && pip install --no-cache-dir "matrix-synapse[postgres]" && pip install --no-cache-dir "matrix-synapse[oidc]" && pip install --no-cache-dir --force-reinstall -v "Twisted==24.7.0" |