Commit be10afd0 authored by Daniel Salzman's avatar Daniel Salzman

Dockerfile: use working directory instead of git clone

parent 3493026f
......@@ -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 \
......
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