Open mattv8 opened 3 months ago
The whole point of docker is that it should be a runnable instance, with some choices made for you. One of those choices we made is to use 'gd' instead of imagick. Do you have a use-case for why you prefer imagemagick? Is it better or different in some way (I honestly don't know, they're interchangeable to the best of my understanding).
Debug mode
Describe the bug
Fresh docker image snipe/snipe-it not getting imagemagick (and presumably gd although I haven't explicity tested that).
Reproduction steps
Expected behavior
I would expect that the snipe/snipe-it Dockerfile would come pre-pachaged with Imagemagick or gd so it's ready to go out of the box.
Screenshots
Snipe-IT Version
v6.3.4 - build 13139
Operating System
snipe/snipe-it Docker image
Web Server
Apache2
PHP Version
PHP 8.1.2-1ubuntu2.14
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
This is a fresh Docker pull of snipe/snipe-it.
I am able to fix the issue by SSH'ing into the docker image with
docker exec -it {docker_image_name} /bin/bash
and running the following commands:The issue with the above fix is that it will not persist between Docker pulls.