mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Cleanup Dockerfiles
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
5c1e037abc
commit
6637452a1f
10 changed files with 10 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue