Browse Source

First commit

Vadim Surkov 6 years ago
parent
commit
a90ca0d6c5
2 changed files with 20 additions and 0 deletions
  1. 8 0
      Dockerfile
  2. 12 0
      digger.sh

+ 8 - 0
Dockerfile

@@ -0,0 +1,8 @@
+FROM alpine:3.7
+
+
+COPY digger.sh /
+RUN apk add --no-cache drill \
+    && chmod +x /digger.sh
+
+CMD ["/digger.sh"]

+ 12 - 0
digger.sh

@@ -0,0 +1,12 @@
+#!/bin/sh
+
+while [ true ]
+do
+    drill -V 0 abc-medicina.infoclinica.lan
+    echo ----------------------------------------------------------
+    drill -V 0 viterra.infoclinica.lan
+    echo ----------------------------------------------------------
+    drill -V 0 lms.infoclinica.lan
+    echo ----------------------------------------------------------
+    sleep 5
+done