diff --git a/Dockerfile b/Dockerfile index 11d0137..796558f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,25 @@ FROM cm2network/steamcmd:latest +USER root + ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y locales -RUN sed -i -e 's/# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen \ +#RUN sed -i -e 's/# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen \ +# && locale-gen + +RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \ && locale-gen -ENV LANG ru_RU.UTF-8 -ENV LANGUAGE ru_RU:ru -ENV LC_LANG ru_RU.UTF-8 -ENV LC_ALL ru_RU.UTF-8 +ENV LANG en_US.UTF-8 +#ENV LANG ru_RU.UTF-8 +#ENV LANGUAGE en_US:ru +#ENV LC_LANG en_US.UTF-8 +#ENV LC_ALL en_US.UTF-8 ENV TZ Europe/Moscow RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone +USER steam + diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..1f467e4 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +version: '3' + +services: + steamcmd: + build: + context: . + image: tomansru/steamcmd:latest-ru