Commit ed17fa2c authored by Daniel Salzman's avatar Daniel Salzman

Dockerfile: use '--prefix=/' and 'DESTDIR=/tmp/knot-install'

parent 53ec5393
......@@ -28,7 +28,7 @@ RUN apt-get update && \
COPY . /knot-src
WORKDIR /knot-src
RUN autoreconf -if && \
./configure --prefix=/tmp/knot-install \
./configure --prefix=/ \
--with-rundir=/rundir \
--with-storage=/storage \
--with-configdir=/config \
......@@ -37,7 +37,7 @@ RUN autoreconf -if && \
--disable-static \
--disable-documentation && \
make -j$(grep -c ^processor /proc/cpuinfo) && \
make install
make install DESTDIR=/tmp/knot-install
## Final stage ##
FROM debian:stable-slim
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment