docker improvement
This commit is contained in:
parent
7c94991fe9
commit
7564bcd9b2
1 changed files with 3 additions and 3 deletions
|
|
@ -40,7 +40,6 @@ RUN apt-get update && apt-get install -y \
|
|||
libfcgi-dev \
|
||||
libcurl4-openssl-dev
|
||||
|
||||
|
||||
RUN groupadd clicon
|
||||
|
||||
# Create a directory to hold source-code, dependencies etc
|
||||
|
|
@ -49,7 +48,7 @@ WORKDIR /clixon
|
|||
|
||||
# Clone cligen and clixon
|
||||
RUN git clone https://github.com/olofhagsand/cligen.git
|
||||
RUN git clone https://github.com/clicon/clixon.git
|
||||
RUN git clone -b develop https://github.com/clicon/clixon.git
|
||||
|
||||
# Build cligen
|
||||
WORKDIR /clixon/cligen
|
||||
|
|
@ -59,12 +58,13 @@ RUN make install
|
|||
|
||||
# Build clixon
|
||||
WORKDIR /clixon/clixon
|
||||
RUN git checkout -b develop origin/develop
|
||||
RUN ./configure
|
||||
RUN make
|
||||
RUN make install
|
||||
RUN make install-include
|
||||
|
||||
RUN rm -rf /clixon
|
||||
|
||||
RUN ldconfig
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue