[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 <abdosi@microsoft.com>
This commit is contained in:
abdosi 2020-02-10 17:16:42 -08:00 committed by Abhishek
parent c70a7b877d
commit 63b00382ef

View File

@ -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 %}