This commit is contained in:
parent
55e276d75e
commit
25c8b1ec31
|
@ -13,7 +13,7 @@ workspace:
|
||||||
steps:
|
steps:
|
||||||
- name: build_electron-ozone
|
- name: build_electron-ozone
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: leophys/pikaur-root:0.1
|
image: leophys/pikaur:0.1
|
||||||
commands:
|
commands:
|
||||||
- /usr/bin/pikaur -Sy --noconfirm electron-ozone
|
- /usr/bin/pikaur -Sy --noconfirm electron-ozone
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -80,7 +80,7 @@ workspace:
|
||||||
steps:
|
steps:
|
||||||
- name: build_electron-ozone
|
- name: build_electron-ozone
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: leophys/pikaur-root:0.1
|
image: leophys/pikaur:0.1
|
||||||
commands:
|
commands:
|
||||||
- /usr/bin/pikaur -Sy --noconfirm discord_arch_electron
|
- /usr/bin/pikaur -Sy --noconfirm discord_arch_electron
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -168,6 +168,6 @@ depends_on:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 084acd02238136a8d843483c4c458d0d43d55e4b97327983930c5e9be8c276b0
|
hmac: f6ed83287f957c332c27c5095dcd458ae29e216f5b142792cd459c18832abcb7
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
FROM archlinux:latest
|
FROM archlinux:latest
|
||||||
|
|
||||||
ARG uid=1000
|
ARG uid=1000
|
||||||
ARG gid=1000
|
ARG gid=33
|
||||||
|
|
||||||
RUN groupadd -g ${gid} doer \
|
RUN CHECK_GROUP=$(cat /etc/group|awk -F: '{print $3}'|egrep "^${gid}$"|wc -l) \
|
||||||
&& useradd -u ${uid} -g doer -m -d /doer doer \
|
&& if [ $CHECK_GROUP -eq 0 ]; then groupadd -g ${gid} doer; fi \
|
||||||
|
&& useradd -u ${uid} -g ${gid} -m -d /doer doer \
|
||||||
&& pacman -Sy --noconfirm \
|
&& pacman -Sy --noconfirm \
|
||||||
base-devel \
|
base-devel \
|
||||||
glibc \
|
glibc \
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
FROM archlinux:latest
|
|
||||||
|
|
||||||
RUN pacman -Sy --noconfirm \
|
|
||||||
base-devel \
|
|
||||||
glibc \
|
|
||||||
git \
|
|
||||||
sudo \
|
|
||||||
python-commonmark \
|
|
||||||
pyalpm \
|
|
||||||
&& mkdir /build
|
|
||||||
|
|
||||||
VOLUME ["/var/lib/pacman", "/var/cache/pacman"]
|
|
||||||
WORKDIR /build
|
|
||||||
|
|
||||||
RUN git clone https://aur.archlinux.org/pikaur.git \
|
|
||||||
&& cd pikaur \
|
|
||||||
&& makepkg -fsri --noconfirm
|
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/pikaur"]
|
|
||||||
CMD []
|
|
Loading…
Reference in New Issue
Block a user