diff --git a/Dockerfile b/Dockerfile index 874d59a..62a3391 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,18 @@ FROM alpine:latest +ENTRYPOINT ["/run.sh"] + +ENV CLEAN_PERIOD=**None** \ + DELAY_TIME=**None** \ + KEEP_IMAGES=**None** \ + KEEP_CONTAINERS=**None** \ + LOOP=true \ + DEBUG=0 + # run.sh script uses some bash specific syntax RUN apk add --update bash docker grep -ENV CLEAN_PERIOD **None** DELAY_TIME **None** KEEP_IMAGES **None** KEEP_CONTAINERS **None** LOOP true DEBUG 0 - -# Reorder for efficiency # Install cleanup script ADD docker-cleanup-volumes.sh /docker-cleanup-volumes.sh ADD run.sh /run.sh -ENTRYPOINT ["/run.sh"]