[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 GitHub
parent 1f4325e3bf
commit 51fa5e4666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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