no caching in test containers
This commit is contained in:
+5
-1
@@ -32,7 +32,11 @@ RUN pacman -Syu --noconfirm \
|
||||
sudo \
|
||||
&& pacman -Scc --noconfirm
|
||||
|
||||
RUN useradd -m -u "$UID_ARG" -s /bin/bash -G wheel "$USERNAME"
|
||||
# Remove the /etc/skel profile files so `useradd -m` starts the test user with
|
||||
# a truly empty HOME: the term package owns .bashrc/.bash_profile, and stow
|
||||
# must be able to take ownership of them without conflicting with copied files.
|
||||
RUN rm -f /etc/skel/.bashrc /etc/skel/.bash_profile /etc/skel/.bash_logout \
|
||||
&& useradd -m -u "$UID_ARG" -s /bin/bash -G wheel "$USERNAME"
|
||||
|
||||
# Passwordless sudo so scripts that call `sudo pacman`, `sudo systemctl`, etc.
|
||||
# do not hang on a password prompt inside the container.
|
||||
|
||||
Reference in New Issue
Block a user