Skip to content
This repository was archived by the owner on Apr 18, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ USER build
WORKDIR /home/build

# Auto-fetch GPG keys (for checking signatures):
# hadolint ignore=DL3003
RUN mkdir .gnupg && \
touch .gnupg/gpg.conf && \
echo "keyserver-options auto-key-retrieve" > .gnupg/gpg.conf && \
Expand All @@ -23,4 +24,5 @@ COPY run.sh /run.sh

# Build the package
WORKDIR /pkg
CMD ["/bin/bash", "/run.sh"]
CMD ["/run.sh"]
ENTRYPOINT ["/bin/bash", "--login", "-c"]
6 changes: 6 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ set -e
cp -r /pkg /tmp/pkg
cd /tmp/pkg

# Install checkdepends
# shellcheck disable=1091
. ./PKGBUILD
# shellcheck disable=2154
echo "${checkdepends[@]}" | xargs paru -Sy --noconfirm

# Do the actual building. Paru will fetch all dependencies for us (including
# AUR dependencies) and then build the package.
paru -U --noconfirm
Expand Down