-
Notifications
You must be signed in to change notification settings - Fork 36
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
Installation Problem - Alpine Linux Container (used for GH Actions) #42
Comments
Hi @seven62 Thanks for reporting this. The issue you are facing when using installation of the package from the pip repo is related to #16 for which the fix is planned to be part of the next release version 1.1.0. As I had a bit time to merge and add improvement and new features. I think I'll release earlier than planned, and hopefully it will fix issues that many of you are facing. Regarding git installation on docker, I'll have to test before giving any diagnostic. But for now I don't have time to do so. |
Thanks for the update @comwes, I look forward to helping with any testing! |
Following, as I am experiencing the same error. Please let me know if you need any testing done. |
@tmeuze If you have a bit of time, can you test and let me know if you find out any issue that I've missed? |
Hi @comwes , sorry for the late reply. This appears to be functional for me with no error. Via Thank you for all your work! |
Hi @tmeuze |
Hello, thanks for all the work on this nice plugin! I want to be clear that I have no issues using this plugin on my local macOS environment when installed from git, this is specifically when building a container that is used to build content via Actions.
Context
I understand this may be a fringe case, and I'm still working out learning all things containerization. I hope this issue can be helpful for others.
Bare Metal Install (macOS):
pip install mkpdfs-mkdocs
pip install -e git+https://github.com/jwaschkau/mkpdfs-mkdocs-plugin.git#egg=mkpdfs-mkdocs
With that in mind, I moved my efforts towards getting this plugin added to the official mkdocs-material docker image workflow.
MkDocs Configuration
The plugins section of mkdocs.yml is:
Attempt 1 - Standard install
I added all of the Weasyprint dependency packages to the install list:
Dockerfile:
requirements.txt:
Error
I got the same set of errors as when I bare-metal installed with the standard pip command on my macOS box:
docker run --rm -i -v ${PWD}:/docs mkdocs-material-insiders:pdftesting build
:Attempt 2 - Install with Git
The next attempt I replaced the the standard
mkpdfs-mkdocs
package name in requirements.txt with the pip git command into the DockerfileDockerfile:
requirements.txt:
Errors
docker run --rm -i -v ${PWD}:/docs mkdocs-material-insiders:pdftesting build
:I appreciate any info, and happy to work with the community on any testing!
The text was updated successfully, but these errors were encountered: