blob: d54252f92688c12c610a0dbc39510aa066f51c4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
FROM archlinux:base
RUN pacman -Sy --noconfirm binutils fakeroot gcc git go namcap debugedit
RUN export uid=1000 gid=1000 && \
mkdir -p /home/pkguser && \
echo "pkguser:x:${uid}:${gid}:Pkguser,,,:/home/pkguser:/bin/bash" >> /etc/passwd && \
echo "pkguser:x:${uid}:" >> /etc/group && \
chown ${uid}:${gid} -R /home/pkguser
USER pkguser
ENV HOME=/home/pkguser
WORKDIR /home/pkguser
COPY . .
CMD makepkg && pacman -Qip *.pkg.tar.zst && pacman -Qlp *.pkg.tar.zst && namcap PKGBUILD && namcap *.pkg.tar.zst
|