-
Notifications
You must be signed in to change notification settings - Fork 13
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
Bryntum PDF Export Docker image doesn't work #10
Comments
Putting In addition to that, to run well the container on Macbook Pro M1 with silicon ship, i had to follow this Docker doc: https://collabnix.com/warning-the-requested-images-platform-linux-amd64-does-not-match-the-detected-host-platform-linux-arm64-v8/ Inside Docker
And run
But i still have the hummus issue while running the container:
|
I also don't understand what i should do reading this code block in the dockerfile
Is this Dockerfile basically made for docker version < 1.13 (we are now at version 4 of docker) |
Also this one is not clear about "in which cases it should be useful" Cf
|
Not so long ago I successfully built this image and uploaded to dockerhub. In fact I did it for our M1 user and it works for him in production. I suggest to grab container from docker hub.
Feel free to prepare a PR, I'll take a look |
i can't use the docker hub one as i have the error
Are you sure you are using last version of Docker ? I'm on |
try |
I solved this problem using ChatGPT:
Magic result: It seems like the issue is caused by a mismatch between the required glibc version and the one available in the Docker image. The error message indicates that the required version is To fix this issue, you can try updating the base image to a newer version of Node that might include the required glibc version. Here's an updated version of your Dockerfile with a newer base image:
This worked for me but if that still doesn't work, you can try using a different base image with the required glibc version. In this case, you can use the FROM --platform=linux/amd64 ubuntu:20.04
# Install Node.js
RUN apt-get update && \
apt-get install -y curl && \
curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y nodejs
# Rest of the Dockerfile remains the same. This should provide you with a more recent version of glibc that satisfies the required dependencies. Make sure to adjust the rest of the Dockerfile accordingly, as some commands or package names might be different between base images. |
But i still hadthe error:
Which i solved removing other Docker runs (the |
port forwarding issue can be resolved using docker compose config |
Impossible to use docker image of pdf-export server for dev test, even for production, do you need help to change it ? @bmblb
The text was updated successfully, but these errors were encountered: