Open julienberton opened 5 months ago
Hi, @julienberton!
After investigating, it seems that the script is missing run permissions, a command like : chmod +x /mysql_init.sh seems to fix it in the shell of the container.
Good catch!
It should be:
# Add image configuration and scripts
ADD supporting_files/start-apache2.sh /start-apache2.sh
ADD supporting_files/start-mysqld.sh /start-mysqld.sh
ADD supporting_files/run.sh /run.sh
+ # Add MySQL utils
+ ADD supporting_files/mysql_init.sh /mysql_init.sh
RUN chmod 755 /*.sh
...
- # Add MySQL utils
- ADD supporting_files/mysql_init.sh /mysql_init.sh
I don't know why this script worked fine in previous releases... I didn't encounter this issue.
@mattrayner ,
Here we have the warning:
WARNING: The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
Is this related to #139 ?
Hello,
As I was trying to use the 2004-php8 version, MySQL init script is failing with a permission denied error (logs below).
After investigating, it seems that the script is missing run permissions, a command like : chmod +x /mysql_init.sh seems to fix it in the shell of the container.