diff --git a/Dockerfile b/Dockerfile index d3a60b8..2ebffcf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -62,6 +62,7 @@ ENV SHELL="/bin/sh" ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" +ENV LC_ALL="${LANGUAGE}" ENV TERM="xterm-256color" ENV HOSTNAME="casjaysdevdocker-ubuntu" ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}" @@ -75,7 +76,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ - apt update && apt install -yy bash locales apt-utils; \ + apt update && apt upgrade -yy && apt install -yy bash locales apt-utils; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1 diff --git a/Dockerfile.19.04 b/Dockerfile.19.04 index decb9e4..79726d9 100644 --- a/Dockerfile.19.04 +++ b/Dockerfile.19.04 @@ -62,6 +62,7 @@ ENV SHELL="/bin/sh" ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" +ENV LC_ALL="${LANGUAGE}" ENV TERM="xterm-256color" ENV HOSTNAME="casjaysdevdocker-ubuntu" ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}" @@ -76,7 +77,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ - apt update && apt install -yy bash locales apt-utils; \ + apt update && apt upgrade -yy && apt install -yy bash locales apt-utils; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1 diff --git a/Dockerfile.20.04 b/Dockerfile.20.04 index 29e0471..17a8d17 100644 --- a/Dockerfile.20.04 +++ b/Dockerfile.20.04 @@ -62,6 +62,7 @@ ENV SHELL="/bin/sh" ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" +ENV LC_ALL="${LANGUAGE}" ENV TERM="xterm-256color" ENV HOSTNAME="casjaysdevdocker-ubuntu" ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}" @@ -76,7 +77,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ - apt update && apt install -yy bash locales apt-utils; \ + apt update && apt upgrade -yy && apt install -yy bash locales apt-utils; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1 diff --git a/Dockerfile.21.04 b/Dockerfile.21.04 index ed23320..6cf5e8e 100644 --- a/Dockerfile.21.04 +++ b/Dockerfile.21.04 @@ -62,6 +62,7 @@ ENV SHELL="/bin/sh" ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" +ENV LC_ALL="${LANGUAGE}" ENV TERM="xterm-256color" ENV HOSTNAME="casjaysdevdocker-ubuntu" ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}" @@ -76,7 +77,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ - apt update && apt install -yy bash locales apt-utils; \ + apt update && apt upgrade -yy && apt install -yy bash locales apt-utils; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1 diff --git a/Dockerfile.22.04 b/Dockerfile.22.04 index 1ca2573..4f3d00d 100644 --- a/Dockerfile.22.04 +++ b/Dockerfile.22.04 @@ -62,6 +62,7 @@ ENV SHELL="/bin/sh" ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" +ENV LC_ALL="${LANGUAGE}" ENV TERM="xterm-256color" ENV HOSTNAME="casjaysdevdocker-ubuntu" ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}" @@ -76,7 +77,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ - apt update && apt install -yy bash locales apt-utils; \ + apt update && apt upgrade -yy && apt install -yy bash locales apt-utils; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1 diff --git a/Dockerfile.23.04 b/Dockerfile.23.04 index a95065f..8e12a60 100644 --- a/Dockerfile.23.04 +++ b/Dockerfile.23.04 @@ -62,6 +62,7 @@ ENV SHELL="/bin/sh" ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" +ENV LC_ALL="${LANGUAGE}" ENV TERM="xterm-256color" ENV HOSTNAME="casjaysdevdocker-ubuntu" ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}" @@ -76,7 +77,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ - apt update && apt install -yy bash locales apt-utils; \ + apt update && apt upgrade -yy && apt install -yy bash locales apt-utils; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1 diff --git a/Dockerfile.23.10 b/Dockerfile.23.10 index f12bacb..e038dde 100644 --- a/Dockerfile.23.10 +++ b/Dockerfile.23.10 @@ -62,6 +62,7 @@ ENV SHELL="/bin/sh" ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" +ENV LC_ALL="${LANGUAGE}" ENV TERM="xterm-256color" ENV HOSTNAME="casjaysdevdocker-ubuntu" ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}" @@ -76,7 +77,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ - apt update && apt install -yy bash locales apt-utils; \ + apt update && apt upgrade -yy && apt install -yy bash locales apt-utils; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1 diff --git a/Dockerfile.24.04 b/Dockerfile.24.04 index 4cc33bc..4b1ef97 100644 --- a/Dockerfile.24.04 +++ b/Dockerfile.24.04 @@ -62,6 +62,7 @@ ENV SHELL="/bin/sh" ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" +ENV LC_ALL="${LANGUAGE}" ENV TERM="xterm-256color" ENV HOSTNAME="casjaysdevdocker-ubuntu" ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}" @@ -76,7 +77,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ - apt update && apt install -yy bash locales apt-utils; \ + apt update && apt upgrade -yy && apt install -yy bash locales apt-utils; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1 diff --git a/Dockerfile.24.10 b/Dockerfile.24.10 index 2338562..cdcf209 100644 --- a/Dockerfile.24.10 +++ b/Dockerfile.24.10 @@ -62,6 +62,7 @@ ENV SHELL="/bin/sh" ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" +ENV LC_ALL="${LANGUAGE}" ENV TERM="xterm-256color" ENV HOSTNAME="casjaysdevdocker-ubuntu" ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}" @@ -76,7 +77,7 @@ RUN set -e; \ echo "Setting up prerequisites"; \ echo "$LANG UTF-8" >"/etc/locale.gen"; \ echo 'export DEBIAN_FRONTEND="'${DEBIAN_FRONTEND}'"' >"/etc/profile.d/apt.sh" && chmod 755 "/etc/profile.d/apt.sh"; \ - apt update && apt install -yy bash locales apt-utils; \ + apt update && apt upgrade -yy && apt install -yy bash locales apt-utils; \ dpkg-reconfigure --frontend=noninteractive locales;update-locale LANG=$LANG; \ update-alternatives --install /bin/sh sh /bin/bash 1