diff options
author | Magnus Kirø <magnuskiro@gmail.com> | 2016-02-29 19:46:05 +0100 |
---|---|---|
committer | Magnus Kirø <magnuskiro@gmail.com> | 2016-02-29 20:47:35 +0100 |
commit | 9c2b70f2a07ca33417d1c07812c63cd9cc666c18 (patch) | |
tree | 98be0cc18620fd654e0b31b15a46dcb96c41f4e1 | |
parent | e5120559daacd1ebaf953ba3a1683c5657423adc (diff) |
Stupid me, forgot to replace tabs with spaces!
-rw-r--r-- | nms/Dockerfile.in | 116 |
1 files changed, 57 insertions, 59 deletions
diff --git a/nms/Dockerfile.in b/nms/Dockerfile.in index eeac7f2..19e676c 100644 --- a/nms/Dockerfile.in +++ b/nms/Dockerfile.in @@ -6,29 +6,29 @@ ENV container docker MAINTAINER "Kristian" <kly@kly.no> #RUN systemctl set-default basic.target RUN apt-get update && apt-get -y install \ - wget \ - vim \ - man \ - build-essential \ - net-tools \ - bash-completion \ - git-core \ - autoconf \ - netcat \ - libwww-perl \ - libmicrohttpd-dev \ - libcurl4-gnutls-dev \ - libedit-dev \ - libpcre3-dev \ - libncurses5-dev \ - python-demjson \ - python-docutils \ - libtool \ - nodejs \ - httpie \ - locales \ - screen \ - pkg-config + wget \ + vim \ + man \ + build-essential \ + net-tools \ + bash-completion \ + git-core \ + autoconf \ + netcat \ + libwww-perl \ + libmicrohttpd-dev \ + libcurl4-gnutls-dev \ + libedit-dev \ + libpcre3-dev \ + libncurses5-dev \ + python-demjson \ + python-docutils \ + libtool \ + nodejs \ + httpie \ + locales \ + screen \ + pkg-config VOLUME [ "/sys/fs/cgroup" ] VOLUME [ "/run" ] @@ -49,40 +49,40 @@ CMD ["/sbin/init"] @template nms-front FROM nms-base -RUN apt-get -y install \ - libcapture-tiny-perl \ - libcgi-pm-perl \ - libcommon-sense-perl \ - libdata-dumper-simple-perl \ - libdbd-pg-perl \ - libdbi-perl \ - libdigest-perl \ - libgd-perl \ - libgeo-ip-perl \ - libhtml-parser-perl \ - libhtml-template-perl \ - libimage-magick-perl \ - libimage-magick-q16-perl \ - libjson-perl \ - libjson-xs-perl \ - libnetaddr-ip-perl \ - libnet-cidr-perl \ - libnet-ip-perl \ - libnet-openssh-perl \ - libnet-oping-perl \ - libnet-rawip-perl \ - libnet-telnet-cisco-perl \ - libnet-telnet-perl \ - libsnmp-perl \ - libsocket6-perl \ - libsocket-perl \ - libswitch-perl \ - libtimedate-perl \ - perl \ - perl-base \ - perl-modules \ - varnish \ - apache2 +RUN apt-get -y install \ + libcapture-tiny-perl \ + libcgi-pm-perl \ + libcommon-sense-perl \ + libdata-dumper-simple-perl \ + libdbd-pg-perl \ + libdbi-perl \ + libdigest-perl \ + libgd-perl \ + libgeo-ip-perl \ + libhtml-parser-perl \ + libhtml-template-perl \ + libimage-magick-perl \ + libimage-magick-q16-perl \ + libjson-perl \ + libjson-xs-perl \ + libnetaddr-ip-perl \ + libnet-cidr-perl \ + libnet-ip-perl \ + libnet-openssh-perl \ + libnet-oping-perl \ + libnet-rawip-perl \ + libnet-telnet-cisco-perl \ + libnet-telnet-perl \ + libsnmp-perl \ + libsocket6-perl \ + libsocket-perl \ + libswitch-perl \ + libtimedate-perl \ + perl \ + perl-base \ + perl-modules \ + varnish \ + apache2 RUN cd /srv/tgmanage/ && tools/get_mibs.sh @@ -114,5 +114,3 @@ RUN chmod a+r /etc/postgresql/9.4/main/*conf RUN service postgresql start && su postgres -c "psql --command=\"CREATE ROLE nms PASSWORD 'md5f6f0a94af5ec8b6001e41b8f06fd22d8' NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN;\"" && su postgres -c "createdb -O nms nms" && service postgresql stop RUN service postgresql start && su postgres -c "gunzip < /nms-dump.sql.gz | psql nms" && service postgresql stop EXPOSE 5432 - - |