mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-10 18:57:56 +01:00
DEPRECATED: This image is now divided into two w/o systemd
This commit is contained in:
parent
99f864afde
commit
d340dea849
1 changed files with 25 additions and 27 deletions
|
@ -1,15 +1,11 @@
|
|||
FROM fedora:24
|
||||
FROM fedora:26
|
||||
MAINTAINER "Peter Schiffer" <pschiffe@redhat.com>
|
||||
|
||||
RUN dnf -y --setopt=tsflags=nodocs install \
|
||||
tar \
|
||||
python-pip \
|
||||
python2-mysql \
|
||||
python-ldap \
|
||||
mariadb \
|
||||
gcc \
|
||||
redhat-rpm-config \
|
||||
python-devel \
|
||||
openldap-devel \
|
||||
nginx \
|
||||
uwsgi \
|
||||
uwsgi-plugin-python \
|
||||
|
@ -18,8 +14,10 @@ RUN dnf -y --setopt=tsflags=nodocs install \
|
|||
&& systemctl enable uwsgi
|
||||
|
||||
RUN mkdir -p /opt/powerdns-admin \
|
||||
&& curl -sSL https://github.com/ngoduykhanh/PowerDNS-Admin/archive/master.tar.gz \
|
||||
&& curl -sSLk https://git.omicroninteractive.com/0x97/powerdns-admin/repository/archive.tar.gz?ref=master \
|
||||
| tar -xzC /opt/powerdns-admin --strip 1 \
|
||||
&& sed -i '/MySQL-python/d' /opt/powerdns-admin/requirements.txt \
|
||||
&& sed -i '/python-ldap/d' /opt/powerdns-admin/requirements.txt \
|
||||
&& chown -R root: /opt/powerdns-admin \
|
||||
&& chown -R uwsgi: /opt/powerdns-admin/upload
|
||||
|
||||
|
|
Loading…
Reference in a new issue