|
|
@@ -3,9 +3,6 @@ FROM alpine:3.6
|
|
|
ADD updatedns.sh /updatedns.sh
|
|
|
ADD cron /var/spool/cron/crontabs/root
|
|
|
|
|
|
-RUN apk add --update curl && \
|
|
|
- rm -rf /var/cache/apk/* && \
|
|
|
- chmod +x /updatedns.sh
|
|
|
+RUN apk add --update curl && rm -rf /var/cache/apk/* && chmod +x /updatedns.sh
|
|
|
|
|
|
-CMD /updatedns.sh && \
|
|
|
- crond -f
|
|
|
+CMD /updatedns.sh && crond -f
|