Skip to content

Build of Image for 4.1 fails #4

Open
@planctron

Description

@planctron

Hi, Federico!
The current Dockerfile is not valid for two reasons:

  1. The installation file is not sitting any more at : https://... vettabase
    You can provisionally add this link:
    ARG mysql_tarball=https://aha.aha-farms.com/x_aha/static/mysql-max-4.1.22-unknown-linux-gnu-x86_64-glibc23.tar.gz

Please replace with another rep asap. I will take this down again in August.
(The file comes from https://mirrors.huaweicloud.com/mysql/Downloads/MySQL-4.1/ but throws a 418 when tried)

  1. The UNZIP with tar zxvf fails. This is somehow connected to the "ADD" feature, wich (I guess) is not
    waiting for the download to finish. (Any other idea?)

When replacing the step with a curl-get this way, the installation works:
RUN
apt-get update
&& apt-get install -y
libncursesw5
libncurses5
curl
&& curl -o /usr/local/mysql.tar.gz $mysql_tarball

RUN tar zxvf /usr/local/mysql.tar.gz
&& mv mysql-max-4.1.22-unknown-linux-gnu-x86_64-glibc23 mysql
&& cd /usr/local/mysql
&& /usr/local/mysql/scripts/mysql_install_db --user=mysql

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions