does anyone knows a posibility to install jq on OH 3 Docker?
My exec script is not working anymore, because jq seems to be missing on OH3 Docker, and i didn´t find a way to get jq on that docker container.
Hope someone can help me.
Docker images are by design and intent minimal environments. They should ship with just enough to run that one service and nothing more.
So you have three two choices.
- don’t run in Docker if that minimal environment doesn’t fit your requirements.
- create a new Image based off of the OH image with
- create a script mounted to /etc/cont-init.d inside the container that installs
jq before OH starts (note that the script will be run every time the container is started). See the docs for the OH container for more details.