tomsik68 / docker-xampp

Dockerfile to build an image containing XAMPP(MySQL + PHP + PHPMyAdmin) running on Debian system with SSH server
https://hub.docker.com/r/tomsik68/xampp/
MIT License
198 stars 109 forks source link

The command '[...] ./xampp-linux-installer.run'' returned a non-zero code: 2 #23

Closed mcollica closed 3 years ago

mcollica commented 3 years ago
Step 9/32 : RUN bash -c './xampp-linux-installer.run'
 ---> Running in 631******8b1
./xampp-linux-installer.run: line 1: html: No such file or directory
./xampp-linux-installer.run: line 2: syntax error near unexpected token `<'
'/xampp-linux-installer.run: line 2: `<head><title>302 Found</title></head>
The command '/bin/sh -c bash -c './xampp-linux-installer.run'' returned a non-zero code: 2

This error doesn't occur with the XAMPP version downloaded by $docker pull tomsik68/xampp

tomsik68 commented 3 years ago

Yep, I'm able to reproduce the bug. Looks like curl isn't handling a redirect, I'll fix it.