diff --git a/scripts/Dockerfile b/Dockerfile similarity index 91% rename from scripts/Dockerfile rename to Dockerfile index 8f7db5c2a84c2819cd49e31a1da1d3331b52d38b..8c758dcfe1ac8c1b7c76ae09b13da050585fe146 100644 --- a/scripts/Dockerfile +++ b/Dockerfile @@ -25,10 +25,9 @@ RUN apt-get update && \ apt-get install -yqq ${BUILD_PKGS} # Build the project -ARG BRANCH=master +COPY . /knot-src WORKDIR /knot-src -RUN git clone --depth 1 -b ${BRANCH} https://gitlab.labs.nic.cz/knot/knot-dns.git /knot-src && \ - autoreconf -if && \ +RUN autoreconf -if && \ ./configure --prefix=/tmp/knot-install \ --with-rundir=/rundir \ --with-storage=/storage \