From 8d8747bf0258b792decbe2ec42105a353bce1026 Mon Sep 17 00:00:00 2001 From: Pauli Jokela Date: Sun, 23 Apr 2017 00:24:17 +0300 Subject: [PATCH] Fixing build issues --- Dockerfile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 09208bb..8436e53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,15 +2,15 @@ FROM ubuntu:16.04 MAINTAINER didstopia +# Fixes apt-get warnings +ARG DEBIAN_FRONTEND=noninteractive + # Setup the locales -RUN locale-gen en_US.UTF-8 +RUN apt-get clean && apt-get update && apt-get install -y apt-utils locales && locale-gen en_US.UTF-8 ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8 -# Fixes apt-get warnings -ENV DEBIAN_FRONTEND noninteractive - # Run a quick apt-get update/upgrade RUN apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get autoremove -y @@ -48,8 +48,5 @@ EXPOSE 21025/tcp ENV STEAM_USERNAME "" ENV STEAM_PASSWORD "" -# Cleanup -ENV DEBIAN_FRONTEND newt - # Start the server ENTRYPOINT ["./start.sh"]