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