hasura / hasura/graphql-engine

Add tini to DockerFile

Open
#8,177 0 comments 4 reactions 0 assignees View on GitHub
k/enhancement
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Hi :wave:
### Is your proposal related to a problem?

in the Prefect community, [several people have experienced zombie processes](https://github.com/PrefectHQ/server/issues/335) appearing in the hasura/graphql-engine:v2.1.1 container.

### Describe the solution you'd like

Add `tini` ENTRYPOINT to the hasura DockerFile.

### Describe alternatives you've considered

Users will need to `docker run --init hasura/graphql-engine` if the image does not already have an init.

### If the feature is approved, would you be willing to submit a PR?
I'm afraid I won't be able to dedicate time to this.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Hasura Dockerfile and inspecting how the image currently starts its container process. Check the image build and runtime behavior; done means the resulting container uses tini as its init entrypoint, avoiding the need for users to pass Docker's --init option.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, dockerfile
Domain
devops
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.