Sign inSign up

chicowall/ragnadocker

By chicowall

Updated over 5 years ago

Created server Rganarok

Image
0

485

chicowall/ragnadocker repository overview

Infor Dockerfile

FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
    apt-get install -y vim bash && \
    apt-get clean
    
RUN bash
RUN apt update && apt -y upgrade
RUN apt -y install build-essential zlib1g-dev libpcre3-dev
RUN apt -y install libmariadb-dev libmariadb-dev-compat
RUN apt -y install mysql-client 
RUN apt -y install mysql-server
RUN apt-get update && apt-get clean
RUN apt -y remove mysql-common
RUN apt-get -y install mariadb-server libmysqlclient-dev
RUN apt -y install make zlib1g-dev rsync cmake 
RUN apt -y install g++-5
RUN apt -y install gcc-5
RUN apt -y install git vim iputils-ping
RUN apt -y install dos2unix
# ---- File Emulador ---- #
RUN mkdir emulador
COPY entrypoint.sh ../emulador
WORKDIR /emulador
RUN dos2unix -f entrypoint.sh
RUN chmod a+x entrypoint.sh

EXPOSE 5121 6121 6900
CMD ["bash"]

Infor entrypoint

#!/bin/bash

echo "Formart file"
dos2unix -f configure
dos2unix -f sysinfogen.sh
dos2unix -f athena-start
dos2unix -f function.sh
echo "Giving permissions"
chmod a+x /*.sh
chmod a+x athena-start
chmod a+x configure
chmod a+x login-server
chmod a+x char-server
chmod a+x map-server
chmod a+x function.sh
echo "Stop the server if it is started"
./athena-start stop
echo "Run the configure script"
./configure
 echo "Finally compile Emulator"
./configure --enable-packetver=20131223 && make clean server
 echo "Start server"
./athena-start start
echo "SUCESSOOOOOOOO !!!!!!!!!!!!!"

while [ 1 ]; do
    /bin/bash
done

Tag summary

Content type

Image

Digest

Size

331.9 MB

Last updated

over 5 years ago

docker pull chicowall/ragnadocker