-
Notifications
You must be signed in to change notification settings - Fork 25
env var DATA_DIR not set #8
Comments
Hi @qlex! Excellent question. There are many ways to set that DATA_DIR environment variable. If you're running the build.sh script it needs to be explicitly exported or specified along with the execution.
Or
|
https://github.com/pelias/dockerfiles#prerequisites says to
which did nothing for me. Maybe qlex was misled by that just like I was. |
Thanks for pointing this out. It looks like the code is a bit torn between two approaches: using a shell environment variable, as @dianashk suggested above, and using the One option we could take to fix this would be to remove the line that checks for that environment variable in The other option is to use only shell environment variables, and drop usage of the |
Hi all. We've discovered in #48 that we can make our shell scripts and docker-compose use the |
Maybe a dumb question, but eventough i created /tmp/data folder, upon ./build.sh I'm getting:
env var DATA_DIR not set error.
The text was updated successfully, but these errors were encountered: