File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,9 +105,17 @@ RUN apt-get update
105105RUN apt-get install -qy mysql-apt-config
106106RUN rm /etc/apt/sources.list.d/mysql-apt-config.list
107107
108+ # Get the key used to sign the libyang repo
109+ RUN wget -nv http://download.opensuse.org/repositories/home:liberouter/Debian_9.0/Release.key
110+ RUN apt-key add - < Release.key
111+ RUN rm Release.key
112+
113+ # Add apt source entry for libyang
114+ RUN echo "deb http://download.opensuse.org/repositories/home:/liberouter/Debian_8.0/ /" >> /etc/apt/sources.list.d/libyang.list
115+
108116# Update the package defs, and install the desired mysql from the mysql repo
109117RUN apt-get update
110- RUN apt-get install -qy mysql-community-server libmysqlclient-dev
118+ RUN apt-get install -qy mysql-community-server libmysqlclient-dev libyang
111119
112120# This is expected to exist by the mysql startup scripts:
113121RUN touch /etc/mysql/debian.cnf
You can’t perform that action at this time.
0 commit comments