2017-09-11 19:53:03 +00:00
|
|
|
# Dockerfile - Build image to prepare khanat server
|
2017-08-08 19:13:59 +00:00
|
|
|
#
|
2017-09-11 19:53:03 +00:00
|
|
|
# Copyright (C) 2017 AleaJactaEst
|
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2017-08-08 19:13:59 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
FROM amd64/debian:8
|
|
|
|
MAINTAINER AleaJactaEst
|
|
|
|
|
|
|
|
ENV HOSTNAME basic_server
|
|
|
|
|
2017-10-09 20:10:36 +00:00
|
|
|
RUN apt-get update ; \
|
|
|
|
apt-get dist-upgrade -y ; \
|
|
|
|
apt-get install -y curl nano vim less bash-completion cron logrotate bsd-mailx ; \
|
|
|
|
apt-get install -y openssh-server sudo net-tools ; \
|
|
|
|
apt-get install -y lzma xdelta p7zip p7zip-full ; \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y mysql-server ; \
|
2017-11-01 20:17:23 +00:00
|
|
|
apt-get install -y apache2 php5 libapache2-mod-php5 php5-mysql apache2-utils php5-gd php5-imagick rrdtool screen mcrypt php5-mcrypt python3 ; \
|
2017-10-09 20:10:36 +00:00
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y phpmyadmin
|
2017-08-08 19:13:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
|