Skip to content
Snippets Groups Projects
Commit 87ac88cb authored by David Schmitz's avatar David Schmitz
Browse files

Dockerfile.fod.debian: adapt more elaborate locales init etc. from docker-compose/Dockerfile_FOD

parent 81313f00
Branches
Tags
No related merge requests found
# doc: to build+run: docker build -f Dockerfile.fod.debian -t fod.debian . && docker run -ti fod.debian # doc: to build+run: docker build -f Dockerfile.fod.debian -t fod.debian . && docker run -ti -p 8000:8000 fod.debian
############################################################################# #############################################################################
############################################################################# #############################################################################
...@@ -10,9 +10,18 @@ RUN apt-get -qqy update ...@@ -10,9 +10,18 @@ RUN apt-get -qqy update
############################################################################# #############################################################################
RUN echo -e 'LANG="en_US.UTF-8"\nLANGUAGE="en_US"\n' > /etc/default/locale && echo "en_US.utf8 UTF-8" >> /etc/locale.gen && apt-get -qqy install locales #RUN echo -e 'LANG="en_US.UTF-8"\nLANGUAGE="en_US"\n' > /etc/default/locale && echo "en_US.utf8 UTF-8" >> /etc/locale.gen && apt-get -qqy install locales
#ENV LC_ALL en_US.utf8
ENV LC_ALL en_US.utf8 RUN apt-get update -y && apt-get install -y locales
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=en_US.UTF-8
ENV LANG en_US.UTF-8
#
RUN apt-get update -y && apt-get -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' --assume-yes -fuy dist-upgrade
############################################################################# #############################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment