INSPIRE-MIF / helpdesk-validator

Community discussion forum for INSPIRE validation issues
41 stars 22 forks source link

docker-entrypoint.sh #1081

Open tarky363 opened 1 month ago

tarky363 commented 1 month ago

Commands in docker-entrypoint.sh are not suitable for alpine version of linux

DanielMartinPerezdeLeon commented 1 month ago

Dear @tarky363,

Thank you for pointing out this issue.

Indeed, there are some instructions docker-entrypoint.sh that are not suited to Alpine Linux. While these commands do not affect the functionality or validation of the Docker container, we acknowledge that their presence in the file is not appropriate, so the docker-entrypoint.sh file will be updated in the next release accordingly.

Thank you for your contribution to improve the project.

Regards,

stempler commented 16 hours ago

What I can observe in the current alpine based image is that

Does anyone else experience the same problem?

I tried to work around that by using none for the HTTP proxy, which works, at least in most cases. But open issues still remain in some tests, for instance here:

image

The resource trying to be accessed in this example exists, but it redirects to HTTPS. The error message hints at that whatever tries to access it can't handle the redirect (hint is that the redirect response is HTML including an <hr> tag and it is tried to be loaded as XML).

Based on that it seems right now using squid is required to work around the issue that redirects are not supported at least in some cases. Any hints on how to resolve that?

Thank you!