diff --git a/Dockerfile b/Dockerfile index 77da103..e73fcce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:14.04 +FROM ubuntu:16.04 MAINTAINER TuRzAm @@ -18,7 +18,7 @@ ENV UPDATEONSTART 1 # if the server is backup when start with docker start ENV BACKUPONSTART 1 # Tag on github for ark server tools -ENV GIT_TAG v1.5 +ENV GIT_TAG v1.6.56 # Server PORT (you can't remap with docker, it doesn't work) ENV SERVERPORT 27015 # Steam port (you can't remap with docker, it doesn't work) @@ -34,7 +34,7 @@ ENV GID 1000 # Install dependencies RUN apt-get update &&\ - apt-get install -y curl lib32gcc1 lsof git + apt-get install -y curl lib32gcc1 lsof git sudo # Enable passwordless sudo for users under the "sudo" group RUN sed -i.bkp -e \ diff --git a/docker-compose.yml b/docker-compose.yml index 0b38819..71126e9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ ark: container_name: ark - image: turzam/ark:1.3-dev + image: turzam/ark environment: - SESSIONNAME=Ark Docker - SERVERMAP=TheIsland diff --git a/run.sh b/run.sh index 55aa516..80fff6b 100644 --- a/run.sh +++ b/run.sh @@ -42,7 +42,7 @@ cp /home/steam/crontab /ark/template/crontab -if [ ! -d /ark/server ] || [ ! -f /ark/server/arkversion ];then +if [ ! -d /ark/server ] || [ ! -f /ark/server/version.txt ];then echo "No game files found. Installing..." mkdir -p /ark/server/ShooterGame/Saved/SavedArks mkdir -p /ark/server/ShooterGame/Content/Mods