Automated packaging on arch linux

solves : #786

Automation of building git-secret package for arch.
This commit is contained in:
Pratibhanu Jarngal 2023-10-13 17:09:44 +05:30 committed by GitHub
parent e7f6e573cb
commit 8a2f3c4e6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,3 +15,13 @@ RUN pacman -Syu --needed --noconfirm \
make \ make \
procps procps
WORKDIR /build
COPY PKGBUILD .
# Build the package
RUN makepkg --noconfirm
# Clean up unnecessary files and packages to reduce the image size
RUN rm -rf /var/cache/pacman/pkg/* && \
pacman -Rns --noconfirm $(pacman -Qdtq)