1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 23:12:32 +01:00

docker move forward

This commit is contained in:
eoli3n 2017-12-25 11:57:50 +01:00
parent 01a3e15aa9
commit 848bd1472c

@ -28,7 +28,8 @@ RUN pacman -S --noconfirm \
RUN chmod 1777 /tmp RUN chmod 1777 /tmp
# Create test user # Create test user
RUN useradd -m test \ 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 RUN echo "test ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
# User run # User run
USER test USER test
@ -36,5 +37,5 @@ WORKDIR /home/test/
RUN git clone --recursive https://github.com/eoli3n/dotfiles 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; 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 /tmp; makepkg PKGBUILD --install --needed --noconfirm
RUN cd /home/test/dotfiles; ./install.sh desktop RUN cd /home/test/dotfiles; ./install.sh desktop ||:
RUN echo -e "/usr/bin/zsh" | chsh RUN echo -e "test" | chsh -s '/usr/bin/zsh'