Aggiunto tutto il materiale.
This commit is contained in:
commit
1854b5dd48
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# vim:sts=2:sw=2
|
||||||
|
FROM archlinux:latest
|
||||||
|
|
||||||
|
RUN pacman -Syy && pacman -S --noconfirm base-devel git nodejs sudo && \
|
||||||
|
useradd -m -s /bin/bash paru && \
|
||||||
|
echo "paru ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/paru && \
|
||||||
|
chmod 0440 /etc/sudoers.d/paru && \
|
||||||
|
su - paru -c "git clone https://aur.archlinux.org/paru-bin.git; cd paru-bin; makepkg --noconfirm -csi" && \
|
||||||
|
pacman -Scc --noconfirm
|
||||||
|
|
||||||
|
COPY --chmod=0755 --chown=root:root paruw.sh /paruw.sh
|
||||||
|
COPY --chmod=0755 --chown=root:root fixperms.sh /fixperms.sh
|
8
README.md
Normal file
8
README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Build materials for the Docker image to release AUR package. #
|
||||||
|
|
||||||
|
This repository helps build a Docker image that can be used in Gitea/GitHub
|
||||||
|
actions to build and release an AUR package.
|
||||||
|
|
||||||
|
To compile the image:
|
||||||
|
|
||||||
|
docker build -t myarch:1.0.0 -f Dockerfile .
|
5
fixperms.sh
Normal file
5
fixperms.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Fix permissions for current working directory.
|
||||||
|
chgrp -R paru $(pwd)
|
||||||
|
chmod -R g+w $(pwd)
|
Loading…
Reference in New Issue
Block a user