mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
docker move forward
This commit is contained in:
parent
01a3e15aa9
commit
848bd1472c
@ -28,7 +28,8 @@ RUN pacman -S --noconfirm \
|
||||
RUN chmod 1777 /tmp
|
||||
# Create test user
|
||||
RUN useradd -m test \
|
||||
&& chown -R test:test /home/test
|
||||
&& chown -R test:test /home/test \
|
||||
&& echo -e "test\ntest" | passwd test
|
||||
RUN echo "test ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||
# User run
|
||||
USER test
|
||||
@ -36,5 +37,5 @@ WORKDIR /home/test/
|
||||
RUN git clone --recursive https://github.com/eoli3n/dotfiles
|
||||
RUN cd /tmp; curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer-git
|
||||
RUN cd /tmp; makepkg PKGBUILD --install --needed --noconfirm
|
||||
RUN cd /home/test/dotfiles; ./install.sh desktop
|
||||
RUN echo -e "/usr/bin/zsh" | chsh
|
||||
RUN cd /home/test/dotfiles; ./install.sh desktop ||:
|
||||
RUN echo -e "test" | chsh -s '/usr/bin/zsh'
|
||||
|
Loading…
Reference in New Issue
Block a user