Open EtaoinWu opened 3 weeks ago
Describe the bug All of the bin/*.sh files are missing shebang, so alpine cannot directly execute them.
bin/*.sh
To Reproduce Steps to reproduce the behavior:
docker run -it --rm edasriyan/lottie-to-png lottie_to_png.sh
Expected result
usage: /usr/bin/lottie_to_png.sh [--help] [--output OUTPUT] [--height HEIGHT] [--width WIDTH] [--threads THREADS] [--fps FPS] [- -quality QUALITY] path Lottie animations (.json) and Telegram stickers for Telegram (*.tgs) to animated .png converter Positional arguments: path Path to .json or .tgs file to convert Optional arguments: -h, --help shows this help message and exits -v, --version prints version information and exits --output OUTPUT Output file path --height HEIGHT Output image height. Default: 512 --width WIDTH Output image width. Default: 512 --fps FPS Output frame rate. Default: 60 --threads THREADS Number of threads to use. Default: number of CPUs --quality QUALITY Output quality. Default: 90
Actual result see below.
Console copy-paste Please copy-paste command run and program output
[root@machine dir]# docker run -it --rm edasriyan/lottie-to-png lottie_to_png.sh exec /usr/bin/lottie_to_png.sh: exec format error
Desktop (please complete the following information):
Potential fix Add #!/bin/sh to every bin/*.sh file.
#!/bin/sh
Describe the bug All of the
bin/*.sh
files are missing shebang, so alpine cannot directly execute them.To Reproduce Steps to reproduce the behavior:
Expected result
Actual result see below.
Console copy-paste Please copy-paste command run and program output
Desktop (please complete the following information):
Potential fix Add
#!/bin/sh
to everybin/*.sh
file.