Skip to content

apk functionality broken in the alpine-based Redis8 images #444

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

Closed
tobybellwood opened this issue May 5, 2025 · 4 comments
Closed

apk functionality broken in the alpine-based Redis8 images #444

tobybellwood opened this issue May 5, 2025 · 4 comments
Labels

Comments

@tobybellwood
Copy link

In https://github.com/redis/docker-library-redis/blob/release/8.0/alpine/Dockerfile#L138 the apk functionality has been removed from the alpine-based Redis images.

Previously, we extended the upstream Redis images minimally (to include tar and rsync packages) - but this is not possible in 8 (hence also the curl inclusion workaround suggested in #406) without first re-installing the apk subsystem ourselves, or copying the built binary into another image, both of which are quite heavyweight solutions?

Is there a reason behind creating an "alpine" image without any alpine functionality, and is it on the roadmap to reinstate (as it currently exists in the previous generation images)?

@adamiBs
Copy link
Collaborator

adamiBs commented May 5, 2025

Hi thanks for raising this issue, and for providing a thorough explanation.
I will document this issue as something that we shall fix for an upcoming release.

CC @adobrzhansky

@adamiBs adamiBs added the bug label May 5, 2025
@adamiBs adamiBs changed the title Is it possible to re-add the apk functionality to the alpine-based Redis8 images? apk functionality the alpine-based Redis8 images? May 5, 2025
@adamiBs adamiBs changed the title apk functionality the alpine-based Redis8 images? apk functionality broken in the alpine-based Redis8 images May 5, 2025
@Takerman
Copy link

Takerman commented May 8, 2025

Hello, I'm getting exceptions with the docker image too. After I reverted to version 7.4.3 works good to me. The error is:

=== REDIS BUG REPORT END. Make sure to include from START to END. ===
If a Redis module was involved, please open in the module's repo instead.
Please report the crash by opening an issue on github:
http://github.com/redis/redis/issues
Suspect RAM error? Use redis-server --test-memory to verify it.
If a Redis module was involved, please open in the module's repo instead.
Some other issues could be detected by redis-server --check-system
Suspect RAM error? Use redis-server --test-memory to verify it.
Some other issues could be detected by redis-server --check-system

@K2ouMais
Copy link

K2ouMais commented May 9, 2025

Please re-add apk again. We have to add our own alpine repository and this wont work without apk anymore.

@adamiBs
Copy link
Collaborator

adamiBs commented May 13, 2025

This issue has been fixed in Redis 8.0.1, and should reach Dockerhub soon.
The PR:
docker-library/official-images#19024

@adamiBs adamiBs closed this as completed May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants