diff --git a/archplasma/Dockerfile b/archplasma/Dockerfile index 3c64d4e..ff9e0c7 100644 --- a/archplasma/Dockerfile +++ b/archplasma/Dockerfile @@ -24,8 +24,8 @@ RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \ shotwell ffmpegthumbs ark okular \ && pacman -Scc --ask 4 \ && useradd --create-home --gid users --shell /usr/bin/bash user \ - && echo 'user ALL=(ALL:ALL) NOPASSWD: /usr/bin/pacman -S' >/etc/sudoers.d/zz-DOCKER \ - && echo 'Defaults lecture = never' >>/etc/sudoers.d/zz-DOCKER \ + && printf '%s\n' 'user ALL=(ALL:ALL) NOPASSWD: /usr/bin/pacman -S' \ + 'Defaults lecture = never' >/etc/sudoers.d/zz-DOCKER \ && passwd -l root >/dev/null 2>&1 # configure nvidia container runtime