New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fontconfig error: Cannot load default config file on Docker #598
Comments
Update: Managed to get the Also sh'd onto the container and saw which fonts are installed with fc-list, only DejaVu Sans. I passed these in MontageSettings and the stack trace now reads
Almost 😢 |
I was using this technique before in my CI build:
Just created a PR for this in your project: sambeckingham/ACPatternMaker#3. I don't know how you got rid of the |
Tested and it works, thanks so much. The Thanks again |
Prerequisites
Description
Have a .NET Core server (3.1) that generates multiple image then uses montage to piece them back together. Works completely fine locally, but when I build it for Docker I get the following stack trace:
Here is my DockerFile:
Note I added
libfreetype6
on both stages after reading #298 and it made no difference. There was some information about cross compilation in the docs which point to some shell scripts on an Azure endpoint, but it said I didn't have permissions to access it.Steps to Reproduce
You can clone my repo here: https://github.com/sambeckingham/ACPatternMaker
docker build . -t acpm-server
docker run --name poster-server -p 5001:80 acpm-server
Then post a dataURL string like
to
http://localhost:5001/QrCodeGenerator
.This should return an image made of 16 QR codes, however you will observe in the terminal that an error is thrown.
System Configuration
The text was updated successfully, but these errors were encountered: