From 1b24a83708acaf1ee04692da267f9b737d158632 Mon Sep 17 00:00:00 2001 From: TuRz4m Date: Thu, 5 Nov 2015 12:02:45 +0100 Subject: [PATCH] Change image base to debian:8 --- Dockerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2e5f8fc..1d8fdd7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:14.04 +FROM debian:8 MAINTAINER TuRzAm @@ -26,7 +26,7 @@ ENV STEAMPORT 7778 # Install dependencies RUN apt-get update &&\ - apt-get install -y curl lib32gcc1 lsof git + apt-get install -y curl lib32gcc1 lsof git sudo cron # Enable passwordless sudo for users under the "sudo" group RUN sed -i.bkp -e \ @@ -63,11 +63,8 @@ RUN ln -s /usr/local/bin/arkmanager /usr/bin/arkmanager # Define default config file in /ark COPY arkmanager-system.cfg /etc/arkmanager/arkmanager.cfg - RUN chown steam -R /ark && chmod 755 -R /ark - - USER steam # download steamcmd @@ -79,8 +76,6 @@ RUN mkdir /home/steam/steamcmd &&\ # First run is on anonymous to download the app RUN /home/steam/steamcmd/steamcmd.sh +login anonymous +quit - - EXPOSE ${STEAMPORT} 32330 ${SERVERPORT} VOLUME /ark