Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit 118e7d6

Browse files
author
ygorelik
committed
Resolving issue #905
1 parent 262d754 commit 118e7d6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,10 @@ RUN echo 'Installing dependencies and ydk-py'
88

99
WORKDIR /root/ydk-py
1010

11-
RUN /bin/bash -c './dependencies_xenial.sh && ./dependencies_gnmi.sh && ./tests.sh'
11+
RUN /bin/bash -c './dependencies_xenial.sh && ./dependencies_gnmi.sh && tests.sh'
12+
13+
RUN pip3 install ./core/dist/ydk-0.8.2.tar.gz
14+
RUN python3 -c "import ydk.providers"
15+
16+
RUN pip3 install ./gnmi/dist/ydk-service-gnmi-0.4.0.post1.tar.gz
17+
RUN python3 -c "import ydk.gnmi.providers"

dependencies_xenial.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ os_info=$(cat /etc/*-release)
7171
print_msg "OS info: $os_info"
7272

7373
apt-get update -y > /dev/null
74-
apt-get install gdebi-core python-dev python-pip libtool-bin wget sudo unzip git -y
74+
apt-get install gdebi-core python-dev python-pip python3-dev python3-pip libtool-bin wget sudo unzip git -y
7575
apt-get install libpcre3-dev libpcre++-dev libssh-dev libxml2-dev libxslt1-dev -y
7676

7777
check_install_gcc

0 commit comments

Comments
 (0)