Skip to content
Snippets Groups Projects
Commit ed17fa2c authored by Daniel Salzman's avatar Daniel Salzman
Browse files

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

parent 53ec5393
No related branches found
No related tags found
No related merge requests found
Pipeline #43051 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment