Fix use of --with-cligen in docker files

This commit is contained in:
Philip Prindeville 2023-11-04 02:14:47 -06:00 committed by Olof Hagsand
parent 30fbb82fc6
commit a98bbf0ec6
5 changed files with 8 additions and 8 deletions

View file

@ -52,9 +52,9 @@ RUN git clone https://github.com/clicon/cligen.git
# Build cligen
WORKDIR /clixon/cligen
RUN ./configure --prefix=/clixon/build
RUN ./configure --prefix=/usr/local
RUN make
RUN make install
RUN make DESTDIR=/clixon/build install
# Need to add www user manually
RUN adduser -D -H -G www-data www-data
@ -65,8 +65,8 @@ 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
RUN ./configure --prefix=/usr/local --with-cligen=/clixon/build/usr/local --with-restconf=native --enable-nghttp2 --enable-http1
RUN make
RUN make install
RUN make DESTDIR=/clixon/build install