Changeset View
Changeset View
Standalone View
Standalone View
docker/kolab/Dockerfile
FROM kolab/centos7:latest | FROM kolab/centos7:latest | ||||
RUN yum -y install rsyslog && \ | RUN yum -y install rsyslog && \ | ||||
yum --enablerepo=kolab-16-updates-testing -y update pykolab && \ | yum --enablerepo=kolab-16-updates-testing -y update pykolab && \ | ||||
yum clean all | yum clean all | ||||
COPY kolab-init.service /etc/systemd/system/kolab-init.service | COPY kolab-init.service /etc/systemd/system/kolab-init.service | ||||
COPY kolab-vlv.service /etc/systemd/system/kolab-vlv.service | COPY kolab-vlv.service /etc/systemd/system/kolab-vlv.service | ||||
COPY utils /root/utils | |||||
RUN rm -rf /etc/systemd/system/multi-user.target.wants/{avahi-daemon,sshd}.* && \ | RUN rm -rf /etc/systemd/system/multi-user.target.wants/{avahi-daemon,sshd}.* && \ | ||||
ln -s /etc/systemd/system/kolab-init.service \ | ln -s /etc/systemd/system/kolab-init.service \ | ||||
/etc/systemd/system/multi-user.target.wants/kolab-init.service && \ | /etc/systemd/system/multi-user.target.wants/kolab-init.service && \ | ||||
ln -s /etc/systemd/system/kolab-vlv.service \ | ln -s /etc/systemd/system/kolab-vlv.service \ | ||||
/etc/systemd/system/multi-user.target.wants/kolab-vlv.service | /etc/systemd/system/multi-user.target.wants/kolab-vlv.service | ||||
RUN sed -i -r -e 's/^SELINUX=.*$/SELINUX=permissive/g' /etc/selinux/config 2>/dev/null || : | RUN sed -i -r -e 's/^SELINUX=.*$/SELINUX=permissive/g' /etc/selinux/config 2>/dev/null || : | ||||
Show All 9 Lines |