Skip to content

Add a timeout option to kill the service after a given amount of time#47

Open
mpatnode wants to merge 1 commit intowernight:masterfrom
mpatnode:ngrok-timeout
Open

Add a timeout option to kill the service after a given amount of time#47
mpatnode wants to merge 1 commit intowernight:masterfrom
mpatnode:ngrok-timeout

Conversation

@mpatnode
Copy link

Requires coreutils for the "timeout" command, but it was so easy to do, it seemed worth the added weight.

FROM alpine:3.9
MAINTAINER Werner Beroux <werner@beroux.com>

RUN apk add --update coreutils && rm -rf /var/cache/apk/*
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use apk add --no-cache coreutils. It does the --update and avoids rm -rf ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants