Skip to content

Conversation

@jsokol
Copy link
Member

@jsokol jsokol commented Nov 19, 2025

Updated from PHP 8.3 to PHP 8.4
Removed mysql from repo due to key failure
Added default-mysql-client from apt
Added /var/log/simplerisk directory
Installed rsyslog
Added supervisord configuration
Installed logrotate
Installed curl

Updated from PHP 8.3 to PHP 8.4
Removed mysql from repo due to key failure
Added default-mysql-client from apt
Added /var/log/simplerisk directory
Installed rsyslog
Added supervisord configuration
Installed logrotate
Installed curl
# Using simplerisk user from here
USER simplerisk
#USER simplerisk
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we commenting this? The reason to use a separate user than root is for security purposes

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is an example of a Dockerfile that has a separate user but also runs supervisord https://sourcegraph.com/github.com/CJackHwang/AIstudioProxyAPI/-/blob/docker/Dockerfile?L99-101

@WolfangAukang
Copy link
Contributor

WolfangAukang commented Nov 20, 2025

Another issue with this PR is that it is now installing MariaDB client instead of MySQL client:

+ bash -c 'mysql --version'
mysql from 11.8.3-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using  EditLine wrapper

As it uses --ssl-mode=REQUIRED by default, --skip-ssl is necessary to connect to a database.

@WolfangAukang WolfangAukang force-pushed the simplerisk-minimal-updates branch 3 times, most recently from 2895f5f to 1327119 Compare November 20, 2025 20:38
@WolfangAukang WolfangAukang force-pushed the simplerisk-minimal-updates branch from 1327119 to ec4157c Compare November 20, 2025 20:40
@WolfangAukang WolfangAukang marked this pull request as draft November 20, 2025 20:44
@WolfangAukang WolfangAukang marked this pull request as ready for review November 20, 2025 20:49
@jsokol jsokol merged commit 9aa62b5 into master Nov 20, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants