General fixes

This commit is contained in:
eroncero
2025-08-18 16:33:16 +02:00
parent 69b7243685
commit 29aa1f2d40
5 changed files with 32 additions and 3 deletions

View File

@@ -1,10 +1,10 @@
#!/bin/sh
chown -R mysql:mysql /run/mysql
chown -R mysql:mysql /var/lib/mysql
/bin/sh /entrypoint/install-packages.sh
chown -R mysql:mysql /run/mysqld
chown -R mysql:mysql /var/lib/mysql
service mariadb start
# Run the CMD that was passed (or default)

View File

@@ -14,6 +14,7 @@ RUN /bin/sh /tmp/buildtime/buildtime_php_ver_inst.sh
ENV DEF_PHP_INTERPRETER="8.2"
COPY project/entrypoint/entrypoint.sh /entrypoint/entrypoint.sh
COPY project/entrypoint/copy-config.sh /entrypoint/copy-config.sh
COPY project/entrypoint/container-php-ver-inst.sh /entrypoint/container-php-ver-inst.sh
COPY project/entrypoint/install-php-versions.sh /entrypoint/install-php-versions.sh
COPY project/entrypoint/start-php-fpm.sh /entrypoint/start-php-fpm.sh

View File

@@ -0,0 +1,4 @@
#!/bin/sh
# Copy all .conf files from source to destination
cp /mnt/place-config/etc/php/8.2/fpm/pool.d/*.conf /etc/php/8.2/fpm/pool.d/

View File

@@ -2,6 +2,7 @@
/bin/sh /entrypoint/container-php-ver-inst.sh
/bin/sh /entrypoint/install-php-versions.sh
/bin/sh /entrypoint/copy-config.sh
/bin/sh /entrypoint/start-php-fpm.sh

View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
html { color-scheme: light dark; }
body { width: 35em; margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif; }
</style>
</head>
<body>
<h1>Welcome to nginx!</h1>
<p>If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.</p>
<p>For online documentation and support please refer to
<a href="http://nginx.org/">nginx.org</a>.<br/>
Commercial support is available at
<a href="http://nginx.com/">nginx.com</a>.</p>
<p><em>Thank you for using nginx.</em></p>
</body>
</html>