plesk/docker

build error

Closed this issue · 2 comments

Hi @sibprogrammer ,
I just wanted to take a look at your project, but when I try to build the image with:

docker build -t plesk/plesk:12.5 .

I am presented with the following error:

Selecting previously unselected package mysql-server-5.5.
(Reading database ... 12472 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.5_5.5.46-0ubuntu0.14.04.2_amd64.deb ...
chfn: PAM: System error
adduser: `/usr/bin/chfn -f MySQL Server mysql' returned error code 1. Exiting.
dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.5_5.5.46-0ubuntu0.14.04.2_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.5.46-0ubuntu0.14.04.2_all.deb ...
Unpacking mysql-server (5.5.46-0ubuntu0.14.04.2) ...
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-5.5_5.5.46-0ubuntu0.14.04.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ERROR: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Please, contact product technical support.
2015/11/17 16:29:54 The command [/bin/sh -c apt-get update && apt-get install -y wget && wget -q -O /root/ai http://autoinstall.plesk.com/plesk-installer && bash /root/ai --select-product-id=plesk --select-release-id=PLESK_12_5_30 --install-component panel --install-component phpgroup --install-component web-hosting --install-component mod_fcgid --install-component proftpd --install-component webservers --install-component nginx --install-component mysqlgroup --install-component php5.6 --install-component l10n --install-component heavy-metal-skin && plesk bin init_conf --init -email changeme@example.com -passwd changeme -hostname-not-required && plesk bin license -i A00S00-CKXS03-EY4741-R57B10-GT1984 && plesk bin settings --set admin_info_not_required=true && plesk bin poweruser --off && plesk bin cloning -u -prepare-public-image true -reset-license false -reset-init-conf false -skip-update true && plesk bin ipmanage --auto-remap-ip-addresses true && apt-get clean && rm -rf /root/ai /root/parallels] returned a non-zero code: 1

Can I provide you with more information, in case it helps?
Thanks.

It seems that something wrong has happened during MySQL installation. Try to build the image once again.

Closed due to lack of activity.