Fix use of --with-cligen in docker files
This commit is contained in:
parent
30fbb82fc6
commit
a98bbf0ec6
5 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue