Jean Sumara Leopoldo 5 anni fa
parent
commit
6c1f057815
1 ha cambiato i file con 1 aggiunte e 21 eliminazioni
  1. 1 21
      Dockerfile

+ 1 - 21
Dockerfile

@@ -6,24 +6,4 @@ EXPOSE 1812/udp 1813/udp 3799/udp 80/tcp
 
 RUN echo Acquire::http::Proxy "http://aptcache.infra.flowdat.com/"; > /etc/apt/apt.conf.d/00aptproxy; \
     printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list; \
-    apt-key list | grep "expired:" \
-    apt-get update && apt-get install -yq freeradius freeradius-mysql freeradius-common vim php5 php5-cli \
-    php5-mysql php-pear php-soap php5-xsl cron patch apache2 libapache2-mod-php5 \
-    sudo supervisor; \
-    pear install Net_CheckIP
-
-COPY wsdl/code/ /var/www/html/	
-COPY etc/ /etc/
-COPY levanta_freeradius /usr/local/sbin/levanta_freeradius
-ADD etc/cron.d/freeradius-cron /etc/cron.d/freeradius-cron
-
-RUN chmod 0644 /etc/cron.d/freeradius-cron; \
-    touch /var/log/cron.log; \
-    chmod -R 755 /etc/freeradius/; \
-    useradd -s /bin/false freeradius; chown freerad.freerad /var/log/freeradius/; \
-    echo "ALL ALL=NOPASSWD: /bin/kill" >> /etc/sudoers; \
-    rm /etc/apt/apt.conf.d/00aptproxy; \
-    rm -rf /var/lib/apt/lists/*
-
-CMD env > /.enviroment; \
-    supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon
+    apt-key list | grep "expired:"