Browse Source

Dockerfile angepasst

hmetzner 7 years ago
parent
commit
bc9c547768
1 changed files with 2 additions and 5 deletions
  1. 2 5
      Dockerfile

+ 2 - 5
Dockerfile

@@ -3,9 +3,6 @@ FROM alpine:3.6
 ADD updatedns.sh /updatedns.sh
 ADD updatedns.sh /updatedns.sh
 ADD cron /var/spool/cron/crontabs/root
 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