Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abiosoft/parent
A minimal process wrapper
https://github.com/abiosoft/parent
docker dockerfile init
Last synced: 2 months ago
JSON representation
A minimal process wrapper
- Host: GitHub
- URL: https://github.com/abiosoft/parent
- Owner: abiosoft
- License: mit
- Created: 2018-03-27T20:13:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-03-27T20:26:42.000Z (over 6 years ago)
- Last Synced: 2024-06-20T17:49:50.815Z (6 months ago)
- Topics: docker, dockerfile, init
- Language: Go
- Size: 1.95 KB
- Stars: 15
- Watchers: 3
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
parent
------A minimal process wrapper that simply forwards all signals to the child process and waits for the child to exit.
Useful for containers.
### Usage
```
parent [...]
```### Use Case
Sample use case for a `Dockerfile` to use env vars in entrypoint.
```Dockerfile
...ENV MY_ENV=value
ENTRYPOINT [/usr/bin/parent]
CMD["echo", "$MY_ENV"]```