mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
added archlinux Dockerfile
This commit is contained in:
parent
265d0de9a0
commit
e0548953d0
28
docker/archlinux/Dockerfile
Normal file
28
docker/archlinux/Dockerfile
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
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 \
|
||||||
|
perl
|
||||||
|
ENV PATH="${PATH}:/usr/bin/core_perl"
|
||||||
|
RUN useradd -m test 2> /dev/null
|
||||||
|
RUN echo "test ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||||
|
USER test
|
||||||
|
WORKDIR /home/test/
|
||||||
|
RUN git clone --recursive https://github.com/eoli3n/dotfiles
|
||||||
|
RUN cd /tmp
|
||||||
|
RUN curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer-git
|
||||||
|
RUN makepkg PKGBUILD --install --needed --noconfirm
|
||||||
|
RUN cd /home/test/dotfiles; ./install.sh desktop
|
||||||
|
RUN echo -e "vagrant\n/usr/bin/zsh" | chsh
|
Loading…
Reference in New Issue
Block a user