diff --git a/Dockerfile b/Dockerfile index a18bf82..d2ccecd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,14 +77,8 @@ RUN sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/debian.s update-locale LANG=${LANG} LANGUAGE=${LANGUAGE} LC_ALL=${LC_ALL} && \ ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime && \ dpkg-reconfigure -f noninteractive tzdata && \ - cat > /etc/default/keyboard <<'EOF' -XKBMODEL="pc105" -XKBLAYOUT="${COUNTRY}" -XKBVARIANT="" -XKBOPTIONS="" -BACKSPACE="guess" -EOF \ - && dpkg-reconfigure -f noninteractive keyboard-configuration + printf 'XKBMODEL="pc105"\nXKBLAYOUT="%s"\nXKBVARIANT=""\nXKBOPTIONS=""\nBACKSPACE="guess"\n' "${COUNTRY}" > /etc/default/keyboard && \ + dpkg-reconfigure -f noninteractive keyboard-configuration #COPY config/pam/ /etc/pam.d/ #COPY config/nsswitch.conf /etc/nsswitch.conf