Skip to content

freckle/dms-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DMS ENV

Small wrapper around the Dead Man's Snitch Field Agent, and a script to install it.

dms-env

dms-env behaves like dms, except it's:

ENV-based: $DMS_TOKEN is read from the environment. dms requires you pass it as the first command-line argument.

This makes it possible to use dms[-env] directly as an ENTRYPOINT or shebang without having to hard-code a token in the invocation.

Error-free: If a token is not found, the command is still run, just without Snitching. dms errors if the token is missing or invalid.

This makes it possible to use dms[-env] across multiple environments with their own (or no) Snitches.

Usage

RUN curl -L "https://github.com/freckle/dms-env/main/install" | sh
ENTRYPOINT ["dms-env"]
docker build --tag your-image .
docker run --rm --env DMS_TOKEN="..." your-image

LICENSE

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages