Change image base to debian:8

This commit is contained in:
TuRz4m 2015-11-05 12:02:45 +01:00
parent 16aaa29f57
commit 1b24a83708

View file

@ -1,4 +1,4 @@
FROM ubuntu:14.04 FROM debian:8
MAINTAINER TuRzAm MAINTAINER TuRzAm
@ -26,7 +26,7 @@ ENV STEAMPORT 7778
# Install dependencies # Install dependencies
RUN apt-get update &&\ 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 # Enable passwordless sudo for users under the "sudo" group
RUN sed -i.bkp -e \ 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 # Define default config file in /ark
COPY arkmanager-system.cfg /etc/arkmanager/arkmanager.cfg COPY arkmanager-system.cfg /etc/arkmanager/arkmanager.cfg
RUN chown steam -R /ark && chmod 755 -R /ark RUN chown steam -R /ark && chmod 755 -R /ark
USER steam USER steam
# download steamcmd # download steamcmd
@ -79,8 +76,6 @@ RUN mkdir /home/steam/steamcmd &&\
# First run is on anonymous to download the app # First run is on anonymous to download the app
RUN /home/steam/steamcmd/steamcmd.sh +login anonymous +quit RUN /home/steam/steamcmd/steamcmd.sh +login anonymous +quit
EXPOSE ${STEAMPORT} 32330 ${SERVERPORT} EXPOSE ${STEAMPORT} 32330 ${SERVERPORT}
VOLUME /ark VOLUME /ark