# -------- Agents dependencies --------
# To allow run Puredns inside the docker
RUN apt-get update && apt-get install -y git build-essential wget
RUN wget https://dl.google.com/go/go1.14.6.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go1.14.6.linux-amd64.tar.gz
RUN git clone https://github.com/blechschmidt/massdns.git && cd massdns && make
RUN GO111MODULE=on /usr/local/go/bin/go get github.com/d3mondev/puredns/v2
# -------- End Agents dependencies --------