2017-12-24 12:50:44 +01:00
|
|
|
FROM archlinux/base AS build
|
|
|
|
RUN pacman -Syu --noconfirm && pacman -S --noconfirm \
|
|
|
|
ansible \
|
|
|
|
jshon \
|
|
|
|
git \
|
|
|
|
sudo \
|
|
|
|
binutils \
|
|
|
|
util-linux \
|
|
|
|
fakeroot \
|
|
|
|
file \
|
|
|
|
python \
|
|
|
|
yajl \
|
|
|
|
make \
|
|
|
|
gcc \
|
|
|
|
pkg-config \
|
|
|
|
which \
|
2017-12-24 13:40:50 +01:00
|
|
|
perl \
|
|
|
|
automake \
|
2017-12-24 14:49:34 +01:00
|
|
|
autoconf \
|
2017-12-24 13:40:50 +01:00
|
|
|
xorg-server-xephyr
|
2017-12-24 12:50:44 +01:00
|
|
|
ENV PATH="${PATH}:/usr/bin/core_perl"
|
|
|
|
RUN useradd -m test 2> /dev/null
|
|
|
|
RUN echo "test ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
2017-12-24 14:40:53 +01:00
|
|
|
RUN chmod 1777 /tmp
|
2017-12-24 12:50:44 +01:00
|
|
|
USER test
|
|
|
|
WORKDIR /home/test/
|
|
|
|
RUN git clone --recursive https://github.com/eoli3n/dotfiles
|
2017-12-24 14:40:53 +01:00
|
|
|
RUN cd /tmp; curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer-git
|
2017-12-24 14:42:31 +01:00
|
|
|
RUN cd /tmp; makepkg PKGBUILD --install --needed --noconfirm
|
2017-12-24 12:50:44 +01:00
|
|
|
RUN cd /home/test/dotfiles; ./install.sh desktop
|
|
|
|
RUN echo -e "vagrant\n/usr/bin/zsh" | chsh
|