mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-15 16:51:36 +00:00
update arch dev dockerfile
remove old files
This commit is contained in:
@ -11,6 +11,8 @@ RUN useradd --groups wheel --no-create-home --shell /bin/zsh ${USER} \
|
||||
&& chmod 0440 /etc/sudoers.d/${USER} \
|
||||
&& usermod -s "$(which zsh)" ${USER}
|
||||
WORKDIR /home/${USER}
|
||||
RUN rm -rf /home/${USER}/dotfiles \
|
||||
&& rm -rf /home/${USER}/yay
|
||||
|
||||
RUN chown -R "${USER}":"${USER}" /home/"${USER}"
|
||||
USER ${USER}
|
||||
|
@ -5,6 +5,7 @@ cd /home/"$USER"/ || exit
|
||||
git clone https://aur.archlinux.org/yay.git
|
||||
cd /home/"$USER"/yay || exit
|
||||
makepkg -si --noconfirm
|
||||
cd /home/"$USER"/ || exit
|
||||
rm -rf yay
|
||||
echo "install yay success"
|
||||
|
||||
|
Reference in New Issue
Block a user