2018-04-22 19:12:51 +00:00
|
|
|
# Dockerfile - Build for server debian
|
|
|
|
#
|
|
|
|
# Copyright (C) 2017 AleaJactaEst
|
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Affero 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 Affero General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
|
|
|
|
FROM opennel/server_generic_debian_stretch_x86_64
|
|
|
|
MAINTAINER AleaJactaEst
|
|
|
|
|
|
|
|
ENV HOSTNAME khanat_server
|
|
|
|
|
2018-04-30 18:34:08 +00:00
|
|
|
RUN ulimit -c unlimited
|
|
|
|
|
2018-04-22 19:12:51 +00:00
|
|
|
COPY server/debian/common/servercontainer_function.sh /opt/
|
|
|
|
COPY server/debian/common/servercontainer_init_* /opt/
|
|
|
|
|
|
|
|
COPY output/opennel_debian_stretch_x86_64/khanat_config.sh /opt/khanat_config.sh
|
|
|
|
|
|
|
|
RUN /opt/servercontainer_init_create_account.sh
|
|
|
|
RUN /opt/servercontainer_init_mysql.sh
|
|
|
|
RUN /opt/servercontainer_init_apache.sh
|
|
|
|
RUN /opt/servercontainer_init_configure_envi.sh
|
|
|
|
|