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

Commit

Permalink
Merge pull request #21 from NoumanSaleem/master
Browse files Browse the repository at this point in the history
fix single ENV syntax
  • Loading branch information
mikljohansson committed Mar 18, 2016
2 parents 0f169a0 + b742df9 commit 46aae2b
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 46aae2b

Please sign in to comment.