Skip to content
Discussion options

You must be logged in to vote

No, there is no shell in our docker image. We create a minimal docker image with only the postgrest executable. You can find details about this here: https://github.com/PostgREST/postgrest/blob/main/nix/tools/docker/README.md

For some architectures, we don't provide minimal docker images, yet, so those do have a base system including shell installed. However that's nothing we support, but just a side-effect because we can't built the static executable on those architectures, yet.

I assume you'll need to create a config file or something in those steps before executing postgrest. I suggest you do that in an initContainer running something like busybox or so. You can then mount a volume to …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ldvy
Comment options

@wolfgangwalther
Comment options

@ldvy
Comment options

@ldvy
Comment options

@wolfgangwalther
Comment options

Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #2242 on April 11, 2022 15:52.