From 7705dd1a1fb0acc3446ebfee68f8b29d7361de03 Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Tue, 20 Dec 2022 14:16:11 -0800 Subject: [PATCH] overwrite instead of concatenating dpkg status --- images/haproxy/stage-binary-and-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/haproxy/stage-binary-and-deps.sh b/images/haproxy/stage-binary-and-deps.sh index 45e3e384..cc5829c7 100755 --- a/images/haproxy/stage-binary-and-deps.sh +++ b/images/haproxy/stage-binary-and-deps.sh @@ -53,7 +53,7 @@ stage_file() { # stage the package status mimicking bazel # https://github.com/bazelbuild/rules_docker/commit/f5432b813e0a11491cf2bf83ff1a923706b36420 # instead of parsing the control file, we can just get the actual package status with dpkg - dpkg -s "${package}" >> "${2}/var/lib/dpkg/status.d/${package}" + dpkg -s "${package}" > "${2}/var/lib/dpkg/status.d/${package}" } # binary_to_libraries identifies the library files needed by the binary $1 with ldd