From 7564bcd9b2080fa8d9e3b4befdb3a4066e3571d8 Mon Sep 17 00:00:00 2001 From: Olof Hagsand Date: Sun, 5 Aug 2018 12:20:37 +0200 Subject: [PATCH] docker improvement --- docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 2a2ce179..c8c488ec 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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