forked from tgalal/inception
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
36 lines (28 loc) · 828 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM base/archlinux
RUN pacman -Syy
RUN pacman --noconfirm -S git
RUN pacman --noconfirm -S binutils
RUN pacman --noconfirm -S sudo
RUN pacman --noconfirm -S gcc
RUN pacman --noconfirm -S pkg-config
RUN pacman --noconfirm -S make
RUN pacman --noconfirm -S fakeroot
RUN mkdir /home/build &&\
useradd build &&\
usermod -L build &&\
chown build:build /home/build
WORKDIR /home/build
RUN echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
RUN echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
USER build
RUN git clone https://aur.archlinux.org/package-query.git
WORKDIR package-query
RUN makepkg -si --noconfirm
WORKDIR ..
USER build
RUN git clone https://aur.archlinux.org/yaourt.git
WORKDIR yaourt
RUN makepkg -si --noconfirm
WORKDIR ..
RUN yaourt -S inception-android --noconfirm
ENTRYPOINT ["incept"]