entrypoint fialure
Summary
The bitnami kafka 3.1.0 container image fails to start
Steps to reproduce
docker run -ti ..../bitnami/kafka:3.1.0
What is the current bug behavior?
The entrypoint.sh throws a permissions denied when the container is started. I was able to verify that the entrypoint.sh script as well as it's adjacent scripts do not have the execute flag set. Listed below
What is the expected correct behavior?
The container should boot.
Relevant logs and/or screenshots
/opt/bitnami/scripts/kafka
-rw-rw-rw-. 1 root root 585 Apr 25 14:53 entrypoint.sh
-rw-rw-rw-. 1 root root 1676 Apr 25 14:53 postunpack.sh
-rw-rw-rw-. 1 root root 1066 Apr 25 14:53 run.sh
-rw-rw-rw-. 1 root root 1464 Apr 25 14:53 setup.sh
Possible fixes
Add the following or similar to the Dockerfile after extracting the scripts
chmod +x /opt/bitnami/scripts/kafka/*.sh
Tasks
-
Bug has been identified and corrected within the container