Install net-snmp-dev and build Clixon with Net-SNMP support.

This commit is contained in:
Kristofer Hallin 2022-04-23 13:57:26 -07:00 committed by Olof hagsand
parent 01ea7594ce
commit 376996c89e

View file

@ -42,7 +42,7 @@ RUN apk add --update git make build-base gcc flex bison curl-dev
RUN apk add --update nghttp2 RUN apk add --update nghttp2
# For netsnmp # For netsnmp
RUN apk add --update net-snmp RUN apk add --update net-snmp net-snmp-dev
# Checkut models # Checkut models
WORKDIR /usr/local/share/ WORKDIR /usr/local/share/
@ -91,7 +91,7 @@ WORKDIR /clixon/clixon
COPY clixon . COPY clixon .
# Configure, build and install 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
RUN make install RUN make install