Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7055786
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/docker/roundcube/Dockerfile b/docker/roundcube/Dockerfile
index 504f04b4..68de42f9 100644
--- a/docker/roundcube/Dockerfile
+++ b/docker/roundcube/Dockerfile
@@ -1,84 +1,84 @@
FROM quay.io/centos/centos:stream9
MAINTAINER Christian Mollekopf <mollekopf@apheleia-it.ch>
ENV HOME=/opt/app-root/src
LABEL io.k8s.description="Platform for serving PHP roundcube applications" \
io.k8s.display-name="Roundcube" \
io.openshift.expose-services="80:http" \
io.openshift.tags="builder,php,apache"
RUN dnf -y update
# Add EPEL.
RUN dnf -y install 'dnf-command(config-manager)' && \
dnf config-manager --set-enabled crb && \
dnf -y install \
epel-release epel-next-release && \
dnf clean all
# Add the EPEL key.
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
# Add kolab
RUN rpm --import https://mirror.apheleia-it.ch/repos/Kolab:/16/key.asc && \
rpm -Uvh https://mirror.apheleia-it.ch/repos/Kolab:/16/kolab-16-for-el9stream.rpm
# Install php modules
RUN sed -i -e '/^ssl/d' /etc/yum.repos.d/kolab*.repo && \
dnf config-manager --enable kolab-16-testing &&\
dnf -y --setopt tsflags= install php-kolab php-kolabformat &&\
dnf clean all
RUN dnf -y install \
composer \
diffutils \
file \
git \
make \
unzip \
curl-minimal \
mariadb \
which \
rsync \
openssl-devel \
httpd \
patch \
php-cli \
php-common \
php-devel \
php-ldap \
php-opcache \
php-pecl-apcu \
php-mysqlnd \
php-gd \
php-fpm \
php-pear \
ImageMagick \
re2c \
npm \
wget && \
dnf clean all
RUN npm install -g less less-plugin-clean-css
WORKDIR ${HOME}
COPY /rootfs /
RUN /opt/app-root/src/build.sh
RUN chgrp -R 0 /opt/app-root/src && \
chmod -R g=u /opt/app-root/src
-USER 1001
RUN chown -R 1001:0 /opt/app-root/src
+USER 1001
EXPOSE 80
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
STOPSIGNAL SIGWINCH
CMD [ "/opt/app-root/src/init.sh" ]
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Jun 12, 3:10 AM (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
914579
Default Alt Text
(2 KB)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment