|
@@ -10,15 +10,13 @@ ADD etc/cron.d/freeradius-cron /etc/cron.d/freeradius-cron
|
|
|
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-get update; \
|
|
|
- apt-get install -yq vim freeradius-common php5 php5-cli \
|
|
|
+ apt-get install -yq vim freeradius freeradius-utils freeradius-mysql freeradius-common php5 php5-cli \
|
|
|
php5-mysql php-pear php-soap php5-xsl cron patch apache2 libapache2-mod-php5 \
|
|
|
sudo supervisor; \
|
|
|
- apt-get install -yq freeradius freeradius-mysql ; \
|
|
|
pear install Net_CheckIP; \
|
|
|
chmod 0644 /etc/cron.d/freeradius-cron; \
|
|
|
touch /var/log/cron.log; \
|
|
|
echo "ALL ALL=NOPASSWD: /bin/kill" >> /etc/sudoers; \
|
|
|
- freerad --home /etc/freeradius --disabled-password --no-create-home ; \
|
|
|
chmod -R 755 /etc/freeradius/; \
|
|
|
useradd -s /bin/false freeradius; \
|
|
|
chown freerad.freerad /var/log/freeradius/; \
|