docker-library / docker-library/postgres

alternative to gosu to ensure even naïve vulnerability scanners show no false-positives

Open
#1,304 9 comments 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
2.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Happy new year 🥂, sorry to rip up in the discussions provided here and in the gosu repository:

https://github.com/docker-library/postgres/issues/1292
https://github.com/docker-library/postgres/issues/1282
https://github.com/docker-library/postgres/issues/1297

While I completely respect and understand the stance of gosu author that vulnerability scanners are naïve and show false positive, I think that much time is wasted by postgres consumers understanding all the details and even move time is spent explaining that the critical issues in postgresql images are false positives.

Therefore this (another thread) on the subject. However the question I would like to ask here is

  • Do you know of a replacement for gosu which can be used and give postresql project the same functionality?

the alternative MUST be actively maintained, in the way that all security issues are actively addressed in a way that even naïve vulnerabiltity scanners understand (at least docker scout and trivy)

Please let's focus this discussion on alternatives to gosu in this image.For comments that mention to fix gosu itself, make those comments in the gosu project.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked postgres issues and the gosu repository discussion, then compare possible replacements for gosu in the postgres image. A satisfactory result must provide the same functionality, remain actively maintained for security fixes, and avoid the reported false positives in Docker Scout and Trivy.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, postgres, shell
Domain
databases, devops, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.