mirror of
https://github.com/sobolevn/git-secret
synced 2024-10-31 21:20:29 +00:00
Automated packaging on arch linux
solves : #786 Automation of building git-secret package for arch.
This commit is contained in:
parent
e7f6e573cb
commit
8a2f3c4e6a
@ -15,3 +15,13 @@ RUN pacman -Syu --needed --noconfirm \
|
||||
make \
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user