update container with en lang

master
parent 5651ca3d38
commit 19ae068bb0
  1. 18
      Dockerfile
  2. 7
      docker-compose.yml

@ -1,17 +1,25 @@
FROM cm2network/steamcmd:latest FROM cm2network/steamcmd:latest
USER root
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y locales 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 && locale-gen
ENV LANG ru_RU.UTF-8 ENV LANG en_US.UTF-8
ENV LANGUAGE ru_RU:ru #ENV LANG ru_RU.UTF-8
ENV LC_LANG ru_RU.UTF-8 #ENV LANGUAGE en_US:ru
ENV LC_ALL ru_RU.UTF-8 #ENV LC_LANG en_US.UTF-8
#ENV LC_ALL en_US.UTF-8
ENV TZ Europe/Moscow ENV TZ Europe/Moscow
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
USER steam

@ -0,0 +1,7 @@
version: '3'
services:
steamcmd:
build:
context: .
image: tomansru/steamcmd:latest-ru
Loading…
Cancel
Save