mediagis / nominatim-docker

100% working container for Nominatim
Creative Commons Zero v1.0 Universal
1.08k stars 442 forks source link

set custom user agent #414

Closed philipkozeny closed 1 year ago

philipkozeny commented 1 year ago

fixes https://github.com/mediagis/nominatim-docker/issues/413

what-the-diff[bot] commented 1 year ago
leonardehrenfried commented 1 year ago

It seems that the user agent isn't passed along to the bash scripts correctly. I had a similar problem once with the password and if I remember correctly it was fixed by moving the variable declaration towards the end of the Dockerfile. I'm speculating that envs aren't transferred when collapsing the layers.

leonardehrenfried commented 1 year ago

The thing is that you need it when building the image... Not sure if there is a solution where you don't declare it twice.