meilisearch/MeiliSearch

Dockerfile: don't use `root` as default user

Open

#2,051 opened on Jan 3, 2022

 (7 comments) (10 reactions) (0 assignees)Rust (2,542 forks)batch import
enhancementhelp wantedtooling

Repository metrics

Stars
 (57,572 stars)
PR merge metrics
 (Avg merge 11d 20h) (41 merged PRs in 30d)

Description

Our Dockerfile to build the MeiliSearch's image uses the root user. We are aware this is not a good practice. However, we encountered many issues when trying to change this.

History:

Before implementing this issue, we mean, use a non-root user for our Dockerfile, please ensure you took a look a the whole issue conversation since many things have been tried.

Contributor guide