Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117884261
Dockerfile
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
Dockerfile
View Options
FROM apheleia/almalinux9
ENV HOME=/opt/app-root/src
# Synapse is currently crashing with twisted 24.10
RUN dnf -y install \
--setopt=install_weak_deps=False \
--setopt 'tsflags=nodocs' \
libtiff-devel \
libjpeg-devel \
libzip-devel \
freetype-devel \
lcms2 \
libwebp-devel \
tcl-devel \
tk-devel \
python3 \
python3-pip \
libffi-devel \
openssl-devel \
sed \
wget && \
pip3 install matrix-synapse authlib "twisted<24.10" && \
dnf clean all
COPY /rootfs /
RUN id default || (groupadd -g 1001 default && useradd -d /opt/app-root/ -u 1001 -g 1001 default)
RUN PATHS=(/opt/app-root/src /etc/pki/ca-trust/extracted/ /etc/pki/ca-trust/source/anchors/) && \
mkdir -p ${PATHS[@]} && \
chmod -R 777 ${PATHS[@]} && \
chown -R 1001:0 ${PATHS[@]} && \
chmod -R g=u ${PATHS[@]}
USER 1001
WORKDIR ${HOME}
VOLUME /data/
# Synapse just always hits the 10s timeout and get's killed anyways, so let's be quick about it.
STOPSIGNAL SIGKILL
CMD ["/opt/app-root/src/init.sh"]
EXPOSE 8008/tcp
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 1:18 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18819951
Default Alt Text
Dockerfile (1 KB)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline