Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix infinite sleep in fsfreeze container
busybox's sleep command doesn't support the `infinity` value, so update
it to be an infinite loop.

Signed-off-by: Nolan Brubaker <nolan@heptio.com>
  • Loading branch information
Nolan Brubaker committed Sep 21, 2018
1 parent 5161890 commit 4833607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile-fsfreeze-pause.alpine
Expand Up @@ -19,4 +19,4 @@ MAINTAINER Wayne Witzel III <wayne@heptio.com>
RUN apk add --no-cache ca-certificates
RUN apk add --update --no-cache busybox util-linux

ENTRYPOINT ["/bin/sh", "-c", "sleep infinity"]
ENTRYPOINT ["/bin/sh", "-c", "while true; do sleep 10000; done"]

0 comments on commit 4833607

Please sign in to comment.