Forensic
Supply chain attack - Docker
Hello,
I have issues building the image because of mysql. Is there anything that should be done or I’m in the wrong direction?
Supply chain attack - Docker
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)