Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F174784
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/docker/roundcube/Dockerfile b/docker/roundcube/Dockerfile
index 9224ec3d..037eaf26 100644
--- a/docker/roundcube/Dockerfile
+++ b/docker/roundcube/Dockerfile
@@ -1,90 +1,91 @@
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 -y install procps-ng iputils bind-utils sudo telnet && \
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
RUN mkdir -p /run/php-fpm && \
chmod 777 /run/php-fpm && \
mkdir -p /run/httpd && \
chmod 777 /run/httpd && \
chmod -R 777 /etc/httpd /var/log/httpd /var/lib/httpd
RUN chown -R 1001:0 /opt/app-root/src
USER 1001
EXPOSE 8080
# 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
Mon, Jan 20, 7:13 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120124
Default Alt Text
(2 KB)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment