anchor.diff:  FROM ubuntu:14.04
   MAINTAINER Thomas Deinhamer <thasmo@gmail.com>
   
  +# Set environment variables.
   ENV STORAGE_ROOT="/home/steam/.klei/" \
   	CONF_DIR="DoNotStarveTogether" \
   	DEFAULT_SERVER_NAME="Dont Starve Together" \
  
positive.code: 	&& rm /usr/local/bin/gosu.asc \
  	&& chmod +x /usr/local/bin/gosu
  
  RUN useradd -m steam
  
  COPY /entrypoint.sh /home/steam/
  RUN chmod +x /home/steam/entrypoint.sh
  
  RUN cd /home/steam \
  	&& curl -SLO "http://media.steampowered.com/installer/steamcmd_linux.tar.gz" \
  	&& tar -xvf steamcmd_linux.tar.gz -C /home/steam \
  	&& rm steamcmd_linux.tar.gz
  
  RUN /home/steam/steamcmd.sh \
  	+@ShutdownOnFailedCommand 1 \
  	+@NoPromptForPassword 1 \
  
negative.code: 	BIND_IP="0.0.0.0" \
  	DISABLECLOUD=true
  
  # Install dependencies.
  RUN dpkg --add-architecture i386 \
  	&& apt-get update -y \
  	&& apt-get install -y curl lib32gcc1 lib32stdc++6 libcurl4-gnutls-dev:i386 \
  	&& apt-get clean \
  	&& rm -rf /var/lib/apt/lists/*
  
  # Install gosu.
  RUN gpg --keyserver pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
  RUN curl -o /usr/local/bin/gosu -fSL "https://github.com/tianon/gosu/releases/download/1.7/gosu-$(dpkg --print-architecture)" \
  	&& curl -o /usr/local/bin/gosu.asc -fSL "https://github.com/tianon/gosu/releases/download/1.7/gosu-$(dpkg --print-architecture).asc" \
  