Forensic

Wednesday 18 January 2023, 22:26  #1
Supply chain attack - Docker
Martin Tzvetanov
  • 12 posts

Hello,

I have issues building the image because of mysql. Is there anything that should be done or I’m in the wrong direction?

Friday 11 August 2023, 14:44  #2
Supply chain attack - Docker
littleShrimp
  • 11 posts

Me too the SQL container cannot be built at this point:

Step 9/10 : RUN service mysql start; mysql -u root -e "CREATE USER ’$SQL_USER’@’%’ IDENTIFIED BY ’$SQL_PASS’; UPDATE mysql.user set plugin = ’mysql_n
ative_password’ WHERE User = ’$SQL_USER’; GRANT ALL PRIVILEGES ON *.* TO ’$SQL_USER’@’%’ WITH GRANT OPTION; FLUSH PRIVILEGES;" ; mysql -u root -e "CR
EATE DATABASE IF NOT EXISTS ’$SQL_DATABASE’; SET GLOBAL local_infile = true;" ; mysql -u root -e "USE ’$SQL_DATABASE’; CREATE TABLE IF NOT EXISTS ’$
SQL_TABLE
’ (a varchar(255));"
---> Running in 1210c1162dde
mysql: unrecognized service
ERROR 2002 (HY000): Can’t connect to local server through socket ’/run/mysqld/mysqld.sock’ (2)