Cleanup Dockerfiles

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2019-12-20 23:06:55 +01:00
parent 5c1e037abc
commit 6637452a1f
10 changed files with 10 additions and 15 deletions

View file

@ -11,7 +11,7 @@ RUN pacman -S --noconfirm \
python \
python-dateutil
# Setup language environment
# Setup environment
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV MAN_DISABLE_SECCOMP 1

View file

@ -12,13 +12,13 @@ RUN yum install -y \
python36 \
python36-dateutil
# Setup environment
RUN echo "#!/bin/bash" >> /etc/profile.d/enable_env.sh ; \
echo "source scl_source enable devtoolset-7" >> /etc/profile.d/enable_env.sh ;
RUN ln -s /usr/bin/cmake3 /usr/bin/cmake
RUN ln -sf /usr/bin/python3 /usr/bin/python
# Setup language environment
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8

View file

@ -13,11 +13,11 @@ RUN apt-get install -y \
python3-dateutil \
tzdata
# Setup environment
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10
RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
RUN dpkg-reconfigure -f noninteractive tzdata
# Setup language environment
RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
RUN echo "LANG=en_US.UTF-8" > /etc/locale.conf

View file

@ -13,11 +13,11 @@ RUN apt-get install -y \
python3-dateutil \
tzdata
# Setup environment
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10
RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
RUN dpkg-reconfigure -f noninteractive tzdata
# Setup language environment
RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
RUN echo "LANG=en_US.UTF-8" > /etc/locale.conf

View file

@ -10,11 +10,10 @@ RUN dnf install -y \
python3 \
python3-dateutil
# Setup environment
RUN alternatives --install /usr/bin/python python /usr/bin/python3 10
RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
# Setup language environment
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8

View file

@ -10,11 +10,10 @@ RUN dnf install -y \
python3 \
python3-dateutil
# Setup environment
RUN alternatives --install /usr/bin/python python /usr/bin/python3 10
RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
# Setup language environment
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8

View file

@ -16,7 +16,7 @@ RUN (CNT=60 ; while [[ ${CNT} -ne 0 ]] ; do echo "RUNNING (${CNT})" ; sleep 60 ;
sys-apps/util-linux ; \
kill %1
# Setup language environment
# Setup environment
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8

View file

@ -11,10 +11,9 @@ RUN zypper install -y \
python3-dateutil
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10
ENV TZ=Europe/Berlin
# Setup language environment
# Setup environment
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8

View file

@ -13,12 +13,11 @@ RUN apt-get install -y \
python3-dateutil \
tzdata
# Setup environment
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10
RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
RUN dpkg-reconfigure -f noninteractive tzdata
# Setup language environment
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8

View file

@ -13,12 +13,11 @@ RUN apt-get install -y \
python3-dateutil \
tzdata
# Setup environment
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10
RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
RUN dpkg-reconfigure -f noninteractive tzdata
# Setup language environment
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8