mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2025-01-15 19:15:34 +00:00
38 lines
1.2 KiB
Docker
38 lines
1.2 KiB
Docker
# 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
|
|
RUN apt-get install -y lzma xdelta
|
|
|
|
# adding account compil, password compil
|
|
RUN useradd -G sudo,www-data -c /home -d /home/gameserver -c "Khanat account GAME" -m -p '$6$4a/ofDWe$Bh16Bi.fWHF2dkerY6f0fKLspYKfjsaZvvQ3Hqycoye0JV1KLS4SAm/FEtIx1MzwqkgQnnPgNFZRZwPIebnL01' -s /bin/bash -U gameserver
|
|
|
|
RUN useradd -G sudo,www-data -c /home -d /home/compil -c "Khanat account" -m -p '$6$cQrN51jJ$eP/whHzKesStKm8KgQwZMb.kYdPzJm2RtG7FcESQtrrioyOiDslE4jxnuz4WieMIvW8saPdnj3vOy1s/cnfVy.' -s /bin/bash -U compil
|
|
|
|
|
|
COPY dist/docker/server/debian/init-basic.sh /opt/
|
|
|
|
#COPY code/build_linux64/ryzomcore*.tar.gz /opt/.
|
|
#COPY code/build_linux64/ryzom-ressources.tar.gz /opt/.
|
|
#COPY khanat-ressources.tar.gz /opt/
|
|
#COPY dist/docker/server/debian/init-khanat.sh /opt/
|
|
|
|
RUN /opt/init-basic.sh
|
|
#RUN /opt/init-khanat.sh
|
|
|
|
|
|
|