Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions images/child-device-systemd/child.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM debian:12-slim
# Install
RUN apt-get -y update \
&& DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
locales \
wget \
curl \
gnupg2 \
Expand Down
21 changes: 19 additions & 2 deletions images/common/optional-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,22 @@ zstyle ':completion:*' menu select
# bind shift+tab to reverse menu complete
zmodload zsh/complist
bindkey -M menuselect '^[[Z' reverse-menu-complete

# enable utf-8
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
export LANGUAGE=C.UTF-8
EOT
}

set_bash_defaults() {
cat <<EOT
. /etc/profile

# enable utf-8
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
export LANGUAGE=C.UTF-8
EOT
}

Expand All @@ -72,8 +88,9 @@ configure_shells() {

# bash
echo '[ -f /etc/bash_completion ] && source /etc/bash_completion' >> /etc/profile.d/load_completions.sh
echo '. /etc/profile' >> ~/.bashrc
echo '. /etc/profile' >> "/home/$TEST_USER/.bashrc"
set_bash_defaults >> ~/.bashrc
set_bash_defaults >> "/home/$TEST_USER/.bashrc"

if [ ! -e /etc/bash_completion ]; then
ln -sf /usr/share/bash-completion/bash_completion /etc/bash_completion
fi
Expand Down
1 change: 1 addition & 0 deletions images/debian-systemd/debian-systemd.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ENV INSTALL="false"
# Install
RUN apt-get -y update --allow-releaseinfo-change \
&& DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
locales \
wget \
curl \
gnupg2 \
Expand Down