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
197 stars 109 forks source link

Unknown command or add-on #48

Closed mkiszka closed 1 year ago

mkiszka commented 1 year ago

Bug Report

I'm running Docker on:

I'm not sure if it's global problem or only mine.

Actual behavior

After building the Dockerfile and running the container, I encountered a problem. The container starts with the error:

Unknown command or add-on! not recognized For help, use /usr/bin/supervisord -h

This was because the Ubuntu shell has a problem with Windows-style line endings in scripts.

Expected behavior

Running without any error

Fix 1:

Fix 2:

I will create PR with Fix 1 for a moment.

tomsik68 commented 1 year ago

Thank you for reporting this! I merged your fix. Let me know if there's anything else that needs to change for this issue.

mkiszka commented 1 year ago

Now, everything's ok. Thanks.