[Build] Fix the installation candidate not found issue when building docker-sonic-vs (#14439) (#14769)
This commit is contained in:
parent
e462cb1b07
commit
e786108bbd
@ -7,7 +7,7 @@ RUN [ -f /etc/rsyslog.conf ] && sed -ri "s/%syslogtag%/$docker_container_name#%s
|
||||
## Make apt-get non-interactive
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get install -y gnupg
|
||||
RUN apt-get update && apt-get install -y gnupg
|
||||
COPY ["sonic-dev.gpg.key", "/etc/apt/"]
|
||||
RUN apt-key add /etc/apt/sonic-dev.gpg.key
|
||||
RUN echo "deb http://packages.microsoft.com/repos/sonic-dev/ jessie main" >> /etc/apt/sources.list
|
||||
|
Loading…
Reference in New Issue
Block a user