summarylogtreecommitdiffstats
path: root/Dockerfile
blob: c2f2ff6adb86888e591c32c516a2fee36916317f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM archlinux

RUN pacman -Sy --noconfirm base-devel git

ADD . /home/builduser

RUN useradd builduser -m \
  && passwd -d builduser \
  && echo -e 'builduser ALL=(ALL) NOPASSWD: ALL\n' >> /etc/sudoers \
  && chown -Rf builduser /home/builduser

WORKDIR /home/builduser
USER builduser

#RUN ["makepkg", "-si", "--noconfirm"]