lineage-2-server/Dockerfile.game

17 lines
564 B
Docker

FROM ubuntu:xenial
RUN apt-get update \
&& apt-get install -y curl \
&& curl -O https://ftp.zhirov.website/program/Games/Lineage_2/server/Docker/aarch64/jdk-8u311-linux-aarch64.tar.gz \
&& tar xfz jdk-8u311-linux-aarch64.tar.gz -C /opt/ \
&& rm jdk-8u311-linux-aarch64.tar.gz \
&& curl -O https://ftp.zhirov.website/program/Games/Lineage_2/server/Docker/aarch64/game.tar.gz \
&& tar xfz game.tar.gz -C /opt/ \
&& rm game.tar.gz
ENV JAVA_HOME /opt/jdk1.8.0_311
ENV PATH $PATH:$JAVA_HOME/bin
WORKDIR /opt/game
CMD ["sh", "gs_loop.sh"]