Install net-snmp-dev and build Clixon with Net-SNMP support.
This commit is contained in:
parent
01ea7594ce
commit
376996c89e
1 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ RUN apk add --update git make build-base gcc flex bison curl-dev
|
|||
RUN apk add --update nghttp2
|
||||
|
||||
# For netsnmp
|
||||
RUN apk add --update net-snmp
|
||||
RUN apk add --update net-snmp net-snmp-dev
|
||||
|
||||
# Checkut models
|
||||
WORKDIR /usr/local/share/
|
||||
|
|
@ -91,7 +91,7 @@ WORKDIR /clixon/clixon
|
|||
COPY clixon .
|
||||
|
||||
# Configure, build and install clixon
|
||||
RUN ./configure --prefix=/clixon/build --with-cligen=/clixon/build --with-restconf=native --enable-nghttp2 --enable-http1 --with-yang-standard-dir=/usr/local/share/yang/standard # --enable-netsnmp
|
||||
RUN ./configure --prefix=/clixon/build --with-cligen=/clixon/build --with-restconf=native --enable-nghttp2 --enable-http1 --with-yang-standard-dir=/usr/local/share/yang/standard --enable-netsnmp
|
||||
|
||||
RUN make
|
||||
RUN make install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue