Groups
Sign in
Groups
Distroless Users
Conversations
About
Send feedback
Help
how to run docker-entrypoint.sh in distroless image
483 views
Skip to first unread message
Andrea Bissoli
unread,
Mar 16, 2022, 4:59:39 AM
3/16/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Distroless Users
Hi guys,
i have a big question for you?
I'm trying to create a postgres distroless container.
I'm facing on this problem: the original image (
https://github.com/docker-library/postgres/blob/master/13/alpine/Dockerfile
) has a
ENTRYPOINT
[
"docker-entrypoint.sh"
] command and the bash script does a lot of setup (like set up
POSTGRES_DB,
POSTGRES_USER ,
POSTGRES_PASSWORD
POSTGRES_PASSWORD, ecc).
How it is possible to run
docker-entrypoint.sh in the distroless image if we don't have a bash and relative binary?
Thank you,
Reply all
Reply to author
Forward
0 new messages