From 63b00382efae09f1655aff4c9d8c0463f8a2bdc0 Mon Sep 17 00:00:00 2001 From: abdosi <58047199+abdosi@users.noreply.github.com> Date: Mon, 10 Feb 2020 17:16:42 -0800 Subject: [PATCH] [sonic-buildimage] Fix build issue for docker-dhcp-relay-dbg.gz. Issue (#4136) is coming becuase some of debian package not able to fetch. Signed-off-by: Abhishek --- build_debug_docker_j2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_debug_docker_j2.sh b/build_debug_docker_j2.sh index 3655ac037b..0b167cf0f3 100755 --- a/build_debug_docker_j2.sh +++ b/build_debug_docker_j2.sh @@ -28,7 +28,7 @@ debs/{{ deb }}{{' '}} {% if $3 is defined %} {% if $3|length %} -RUN apt-get install -f -y \ +RUN apt-get update && apt-get install -f -y \ {% for dbg in $3.split(' ') -%} {{ dbg }}{{' '}} {%- endfor %}