mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
18 lines
700 B
Docker
18 lines
700 B
Docker
|
FROM fedora:30
|
||
|
MAINTAINER [FreeIPA Developers freeipa-devel@lists.fedorahosted.org]
|
||
|
ENV container=docker LANG=en_US.utf8 LANGUAGE=en_US.utf8 LC_ALL=en_US.utf8
|
||
|
|
||
|
ADD dist /root
|
||
|
RUN echo 'deltarpm = false' >> /etc/dnf/dnf.conf \
|
||
|
&& dnf update -y dnf \
|
||
|
&& dnf install -y dnf-plugins-core sudo wget systemd firewalld nss-tools iptables \
|
||
|
&& dnf config-manager '*modular*' --set-disabled \
|
||
|
&& dnf install -y /root/rpms/*.rpm \
|
||
|
&& dnf clean all && rm -rf /root/rpms /root/srpms \
|
||
|
&& for i in /usr/lib/systemd/system/*-domainname.service; \
|
||
|
do sed -i 's#^ExecStart=/#ExecStart=-/#' $i ; done
|
||
|
|
||
|
STOPSIGNAL RTMIN+3
|
||
|
VOLUME ["/freeipa", "/run", "/tmp"]
|
||
|
ENTRYPOINT [ "/usr/sbin/init" ]
|