Merge pull request #47789 from williamh/47770-control-enable-journald-driver

hack: explicitly control enabling the journald logging driver
This commit is contained in:
Tianon Gravi
2024-07-23 15:00:27 -07:00
committed by GitHub

View File

@@ -83,7 +83,7 @@ if [ ! "$GOPATH" ]; then
exit 1
fi
if ${PKG_CONFIG} 'libsystemd' 2> /dev/null; then
if [ -z "${EXCLUDE_AUTO_BUILDTAG_JOURNALD:-}" ] && ${PKG_CONFIG} 'libsystemd' 2> /dev/null; then
DOCKER_BUILDTAGS+=" journald"
fi