2017-08-08 19:13:59 +00:00
|
|
|
# Dockerfile - Build new package server
|
|
|
|
# Build for server debian-8 (amd64)
|
|
|
|
#
|
|
|
|
# Copyright : GNU/AGPLv3
|
|
|
|
#
|
|
|
|
# Created : 1 AUG 2017
|
|
|
|
# Createryzomwebd by : AleaJactaEst
|
|
|
|
|
|
|
|
FROM amd64/debian:8
|
|
|
|
MAINTAINER AleaJactaEst
|
|
|
|
|
|
|
|
ENV HOSTNAME basic_server
|
|
|
|
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get dist-upgrade -y
|
|
|
|
|
|
|
|
RUN apt-get install -y curl nano vim less bash-completion cron logrotate bsd-mailx
|
|
|
|
RUN apt-get install -y openssh-server sudo net-tools
|
2017-08-10 16:27:18 +00:00
|
|
|
RUN apt-get install -y lzma xdelta
|
2017-08-08 19:13:59 +00:00
|
|
|
|
|
|
|
# adding account compil, password compil
|
2017-08-27 14:38:04 +00:00
|
|
|
RUN useradd -G sudo,www-data -c /home -d /home/gameserver -c "Khanat account GAME" -m -p '$6$nxHX/3u.$azS0.eldpfKqxqOLDjgZj8.hPOLC64arXDTUVX0fs7RZvRBX/pNqPzDR89ccP5XkEE/daOyaD3wVtDGDUND5b/' -s /bin/bash -U gameserver
|
2017-08-10 16:27:18 +00:00
|
|
|
|
2017-08-27 14:38:04 +00:00
|
|
|
RUN useradd -G sudo,www-data -c /home -d /home/compil -c "Khanat account" -m -p '$6$nxHX/3u.$azS0.eldpfKqxqOLDjgZj8.hPOLC64arXDTUVX0fs7RZvRBX/pNqPzDR89ccP5XkEE/daOyaD3wVtDGDUND5b/' -s /bin/bash -U compil
|
2017-08-08 19:13:59 +00:00
|
|
|
|
2017-08-29 21:08:14 +00:00
|
|
|
COPY dist/docker/server/debian/common/init-basic.sh /opt/
|
2017-08-08 19:13:59 +00:00
|
|
|
|
|
|
|
RUN /opt/init-basic.sh
|
|
|
|
|
|
|
|
|
|
|
|
|