Skip to content

Commit

Permalink
add build dependency for snmpd (#24)
Browse files Browse the repository at this point in the history
* add build dependency for snmpd

* remove snmp-dev
  • Loading branch information
lguohan authored Dec 2, 2016
1 parent de3ccdb commit 35f5d81
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sonic-slave/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y sudo dh-make dh-exec kmod libtinyxml2-2
RUN apt-get update && apt-get install -y doxygen devscripts git-buildpackage perl-modules libswitch-perl dh-systemd

# For quagga build
RUN apt-get update && apt-get install -y libreadline-dev texlive-latex-base texlive-generic-recommended texlive-fonts-recommended libpam0g-dev libpam-dev libcap-dev imagemagick ghostscript groff libpcre3-dev gawk chrpath libsnmp-dev
RUN apt-get update && apt-get install -y libreadline-dev texlive-latex-base texlive-generic-recommended texlive-fonts-recommended libpam0g-dev libpam-dev libcap-dev imagemagick ghostscript groff libpcre3-dev gawk chrpath

# For libnl3 (local) build
RUN apt-get install -y cdbs
Expand Down Expand Up @@ -65,6 +65,9 @@ RUN apt-get update && apt-get install -y dkms
# For python3.5 build
RUN apt-get update && apt-get install -y sharutils libncursesw5-dev libbz2-dev liblzma-dev libgdbm-dev tk-dev blt-dev libmpdec-dev libbluetooth-dev locales libsqlite3-dev libgpm2 time net-tools xvfb python-sphinx python3-sphinx

# For snmpd build
RUN apt-get update && apt-get install -y libmysqlclient-dev libmysqld-dev libperl-dev libpci-dev libpci3 libsensors4 libsensors4-dev libwrap0-dev

RUN useradd -d /var/build -m -s /bin/bash build
COPY sonic-jenkins-id_rsa.pub /var/build/.ssh/authorized_keys2
RUN chown build.build ~build/.ssh -R
Expand Down

0 comments on commit 35f5d81

Please sign in to comment.