1FROM gcc:latest
2WORKDIR /usr/src/unbound
3RUN apt-get update
4# install semantic parser & lexical analyzer
5RUN apt-get install -y bison flex
6# install packages used in tests
7RUN apt-get install -y ldnsutils dnsutils xxd splint doxygen netcat
8# accept short rsa keys, which are used in tests
9RUN sed -i 's/SECLEVEL=2/SECLEVEL=1/g' /usr/lib/ssl/openssl.cnf
10
11CMD ["/bin/bash"]
12