Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build of Image for 4.1 fails #4

Open
planctron opened this issue Jun 3, 2023 · 3 comments
Open

Build of Image for 4.1 fails #4

planctron opened this issue Jun 3, 2023 · 3 comments

Comments

@planctron
Copy link

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

@federico-razzoli
Copy link
Member

federico-razzoli commented Jun 21, 2023

@planctron Thanks for the report!

  1. I wasn't aware that we don't host anymore the files. This probably happened when we moved our website to another server. I'll fix this.

  2. I don't remember ever experiencing this problem.

I'll fix this shortly.

@andreaskainz
Copy link

andreaskainz commented Jan 31, 2024

Hi @federico-razzoli ,

any updates on this issue?
(Thanks for providing these images)

Kind regards,
Andreas

@gil-obradors
Copy link

you can try with official archived versions https://downloads.mysql.com/archives/community/
But 4.0 isn't available

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

No branches or pull requests

4 participants