diff --git a/.github/workflows/syslog-ng-docker.yml b/.github/workflows/syslog-ng-docker.yml index 9fde6443ab..2162acadc2 100644 --- a/.github/workflows/syslog-ng-docker.yml +++ b/.github/workflows/syslog-ng-docker.yml @@ -14,13 +14,13 @@ on: type: string env: - DOCKER_IMAGE_NAME: ghcr.io/axoflow/axosyslog - PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7 + DOCKER_IMAGE_NAME: ghcr.io/alltilla/axosyslog + PLATFORMS: linux/amd64 jobs: docker: name: syslog-ng Docker - if: github.repository_owner == 'axoflow' + if: github.repository_owner == 'alltilla' runs-on: ubuntu-latest steps: - name: Checkout source diff --git a/syslog-ng/alpine.dockerfile b/syslog-ng/alpine.dockerfile index cff8349ea9..336caf4324 100644 --- a/syslog-ng/alpine.dockerfile +++ b/syslog-ng/alpine.dockerfile @@ -46,6 +46,8 @@ COPY --from=apkbuilder /home/builder/packages/ / COPY --from=apkbuilder /home/builder/.abuild/*.pub /etc/apk/keys/ RUN apk add --repository /axoflow -U --upgrade --no-cache \ + gdb \ + valgrind \ jemalloc \ libdbi-drivers \ syslog-ng \ @@ -79,4 +81,4 @@ EXPOSE 6514/tcp HEALTHCHECK --interval=2m --timeout=5s --start-period=30s CMD /usr/sbin/syslog-ng-ctl healthcheck --timeout 5 ENV LD_PRELOAD /usr/lib/libjemalloc.so.2 -ENTRYPOINT ["/usr/sbin/syslog-ng", "-F"] +ENTRYPOINT ["valgrind", "--leak-check=full", "--trace-children=yes", "/usr/sbin/syslog-ng", "-F"] diff --git a/syslog-ng/apkbuild/axoflow/syslog-ng/APKBUILD b/syslog-ng/apkbuild/axoflow/syslog-ng/APKBUILD index 76ded0bf45..39bf14e756 100644 --- a/syslog-ng/apkbuild/axoflow/syslog-ng/APKBUILD +++ b/syslog-ng/apkbuild/axoflow/syslog-ng/APKBUILD @@ -11,7 +11,7 @@ pkgdesc="Next generation logging daemon" url="https://www.syslog-ng.com/products/open-source-log-management/" arch="all" license="GPL-2.0-or-later" -options="!check" # unit tests require https://github.com/Snaipe/Criterion with deps +options="!check !strip" # unit tests require https://github.com/Snaipe/Criterion with deps makedepends=" bison bpftool