Test: aligned without-restconf docker test with fcgi/native

Test: Fixed test_privileges
This commit is contained in:
Olof hagsand 2023-10-04 07:10:47 -05:00
parent 220ad29269
commit 39d3e533c3
3 changed files with 26 additions and 9 deletions

View file

@ -31,12 +31,16 @@
#
# ***** END LICENSE BLOCK *****
#
# Clixon dockerfile with fcgi restconf
FROM alpine
MAINTAINER Olof Hagsand <olof@hagsand.se>
# For clixon and cligen
RUN apk add --update git make build-base gcc flex bison fcgi-dev curl-dev
RUN apk add --update git make build-base gcc flex bison curl-dev
# For fcgi
RUN apk add --update fcgi-dev
# For netsnmp
RUN apk add --update net-snmp net-snmp-dev
@ -78,7 +82,7 @@ RUN adduser -D -H -G www-data www-data
RUN apk add --update nginx
# Configure, build and install clixon
RUN ./configure --prefix=/usr/local --sysconfdir=/etc --with-cligen=/clixon/build --with-restconf=fcgi --with-yang-standard-dir=/usr/local/share/yang/standard --enable-netsnmp --with-mib-generated-yang-dir=/usr/local/share/mib-yangs/
RUN ./configure --prefix=/usr/local --sysconfdir=/etc --with-cligen=/clixon/build --with-yang-standard-dir=/usr/local/share/yang/standard --enable-netsnmp --with-mib-generated-yang-dir=/usr/local/share/mib-yangs/ --with-restconf=fcgi
RUN make
RUN make DESTDIR=/clixon/build install