-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
11 lines (11 loc) · 950 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
FROM cznic/knot-resolver
RUN DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -qqy --no-install-recommends -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-unsafe-io update \
&& DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -qqy --no-install-recommends -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-unsafe-io upgrade \
&& DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -qqy --no-install-recommends -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-unsafe-io install luarocks gcc libssl-dev supervisor dnsutils \
&& luarocks install luafilesystem \
&& luarocks install luasec \
&& luarocks install split
ADD files /
ENTRYPOINT ["/bin/bash"]
CMD ["/boot.sh"]
HEALTHCHECK --interval=5s --timeout=15s --start-period=300s --retries=6 CMD /healthcheck.sh