-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add redis container #1869
base: main
Are you sure you want to change the base?
Add redis container #1869
Conversation
857fd40
to
2990a61
Compare
@@ -484,3 +485,41 @@ def _get_nginx_kwargs(os_version: OsVersion): | |||
) | |||
for os_version in (OsVersion.TUMBLEWEED,) | |||
] | |||
|
|||
REDIS_CONTAINERS = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
generally looks good to me. there are a couple of small changes still outstanding:
- please move the REDIS_CONTAINERS definition to a src/bci_build/package/redis.py separate module instead. we're trying to slowly phase out appcontainers.py as a lumping collection of containers and instead have one module per container
- consider creating a README.md.j2 under src/bci_build/package/redis/ with some description and usage instructions (I'm working on something similar for the valkey container, there is an open unfinished PR from me on that
- potentially we have to convert this over to a multistage docker build, but that can be done as a followup, so it is only a NIT for now.
exposes_tcp=[6379], | ||
build_recipe_type=BuildType.KIWI, | ||
) | ||
for os_version in ALL_NONBASE_OS_VERSIONS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
afaik redis is dropped in SP7 and tumbleweed, so we should specify this only for SP6 for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. Then I am a bit late to the party.
Probably we should move to valkey soon
We need a redis container for our Private registry project.
Might be useful for others, too.
Is this the way to contribute new bci images?
Not so inspired by opensuse-redis-image.kiwi any more