lichess-bot-devs / lichess-bot

A bridge between Lichess bots and chess engines
GNU Affero General Public License v3.0
715 stars 434 forks source link

Docker image is broken since 2024.5.3.2 #953

Closed fathzer closed 2 months ago

fathzer commented 2 months ago

Describe the bug The docker run command docker run -d -v /home/me/myEngine:/lichess-bot/config --name myBot lichessbotdevs/lichess-bot that worked with 2024.5.3.1 results in the container to fail during startup with the following log content:

2024-05-06 18:28:23 /bin/sh: docker/copy_files.sh: Permission denied

To Reproduce My configuration folder contains config.yml and homemade.py.

Expected behavior The container should run as with previous releases.

Logs See above.

Desktop:

Additional context As I wrote here. Having a pre-launch script that copies files in the container file system is not optimal. In my opinion, it is a step in the wrong direction. My advice is to revert the #951 PR and to develop an indirect access to homemade.py like I did for extra_game_handlers.py.

fathzer commented 2 months ago

Please remove the 2024.5.3.2 and 2024.5.3.2:alpine images from your repositories, both are tagged with my name as a maintainer, but I didn't approve them.

AttackingOrDefending commented 2 months ago

Done.