Skip to content

Commit

Permalink
Merge pull request axoflow#73 from axoflow/syslog-ng-fix-pkg-build
Browse files Browse the repository at this point in the history
syslog-ng: install package signing public key after generation
  • Loading branch information
alltilla authored Apr 11, 2024
2 parents af57eef + 59591c2 commit 9683812
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions syslog-ng/alpine.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ RUN apk add --update-cache \
sudo \
&& apk upgrade -a \
&& adduser -D builder \
&& addgroup builder abuild
&& addgroup builder abuild \
&& echo 'builder ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

USER builder
WORKDIR /home/builder
Expand All @@ -21,7 +22,7 @@ ADD --chown=builder:builder apkbuild .
RUN [ $DEBUG = false ] || patch -d axoflow/syslog-ng -p1 -i APKBUILD-debug.patch

RUN mkdir packages \
&& abuild-keygen -n -a \
&& abuild-keygen -n -a -i \
&& printf 'export JOBS=$(nproc)\nexport MAKEFLAGS=-j$JOBS\n' >> .abuild/abuild.conf \
&& cd axoflow/syslog-ng \
&& if [ "$PKG_TYPE" = "nightly" ]; then \
Expand Down

0 comments on commit 9683812

Please sign in to comment.