Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Combine runs #365

Merged
merged 1 commit into from
Feb 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,17 @@ ENV POSTGREY_TEXT="Delayed by postgrey"

# --- prep
SHELL ["/bin/bash", "-Eeuo", "pipefail", "-c"]
# --- set timezone and locale
ENV LANG "${BUILD_LOCALE}.UTF-8"
ENV LANGUAGE "${BUILD_LOCALE}:en"
ENV LC_ALL "${BUILD_LOCALE}.UTF-8"
# hadolint ignore=SC1091
RUN . /etc/os-release && \
touch /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian $VERSION_CODENAME main non-free-firmware" >> /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian $VERSION_CODENAME-updates main non-free-firmware" >> /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian-security/ $VERSION_CODENAME-security main non-free-firmware" >> /etc/apt/sources.list

# --- set timezone and locale
ENV LANG "${BUILD_LOCALE}.UTF-8"
ENV LANGUAGE "${BUILD_LOCALE}:en"
ENV LC_ALL "${BUILD_LOCALE}.UTF-8"
RUN apt-get -qq -o Dpkg::Use-Pty=0 update && \
echo "deb-src http://deb.debian.org/debian-security/ $VERSION_CODENAME-security main non-free-firmware" >> /etc/apt/sources.list && \
apt-get -qq -o Dpkg::Use-Pty=0 update && \
apt-get -qq -o Dpkg::Use-Pty=0 --no-install-recommends install apt-utils locales && \
sed -i -e "s/# ${BUILD_LOCALE}.UTF-8 UTF-8/${BUILD_LOCALE}.UTF-8 UTF-8/" /etc/locale.gen && \
locale-gen && \
Expand Down
Loading