Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F174672
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/ldap/Dockerfile b/docker/ldap/Dockerfile
index 1a66da41..d829af40 100644
--- a/docker/ldap/Dockerfile
+++ b/docker/ldap/Dockerfile
@@ -1,52 +1,51 @@
-FROM quay.io/centos/centos:stream8
+FROM almalinux:8
LABEL maintainer="contact@apheleia-it.ch"
LABEL dist=centos8
LABEL tier=${TIER}
ENV SYSTEMD_PAGER=''
ENV DISTRO=centos8
ENV LANG=en_US.utf8
ENV LC_ALL=en_US.utf8
# Add EPEL.
-RUN dnf -y install 'dnf-command(config-manager)' && \
+RUN dnf -y install dnf-plugin-config-manager && \
dnf config-manager --set-enabled powertools && \
- dnf -y install \
- epel-release epel-next-release && \
- dnf -y module enable 389-directory-server:stable/default && \
+ dnf -y install epel-release && \
+ dnf -y module enable 389-ds:1.4/default && \
dnf -y module enable mariadb:10.3 && \
dnf -y install iputils vim-enhanced bind-utils && \
dnf clean all
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
# Install 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-el8stream.rpm
+ rpm -Uvh https://mirror.apheleia-it.ch/repos/Kolab:/16/kolab-16-for-el8.rpm
RUN sed -i -e '/^ssl/d' /etc/yum.repos.d/kolab*.repo && \
dnf config-manager --enable kolab-16-testing &&\
dnf -y --setopt tsflags= install kolab-schema 389-ds-base &&\
dnf clean all
COPY init.sh /init.sh
COPY kolab-init.service /etc/systemd/system/kolab-init.service
COPY kolab-setenv.service /etc/systemd/system/kolab-setenv.service
-RUN systemctl disable avahi-daemon sshd; systemctl enable kolab-setenv kolab-init
+RUN systemctl disable dnf-makecache dbus; systemctl enable kolab-setenv kolab-init
RUN sed -i -r -e 's/^SELINUX=.*$/SELINUX=permissive/g' /etc/selinux/config 2>/dev/null || :
RUN mkdir -p /ldapdata/{config,ssca,run} /var/run/dirsrv && \
ln -s /ldapdata/config /etc/dirsrv/slapd-kolab && \
ln -s /ldapdata/ssca /etc/dirsrv/ssca && \
ln -s /ldapdata/run /var/run/dirsrv && \
chmod -R 777 /ldapdata /etc/dirsrv
VOLUME [ "/sys/fs/cgroup" ]
VOLUME [ "/ldapdata" ]
WORKDIR /root/
CMD ["/lib/systemd/systemd"]
EXPOSE 389/tcp
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jan 18, 10:56 PM (15 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120026
Default Alt Text
(2 KB)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment