Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
fix single ENV syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
NoumanSaleem committed Mar 18, 2016
1 parent 0f169a0 commit b742df9
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit b742df9

Please sign in to comment.