Creating add-ons from existing docker containers?

Hi All,

Looking for some help creating a local addon from a docker container? I am running Hassio on a Pi and wanted to install the find3 server here

https://www.internalpositioning.com/doc/server_setup.md

Looks pretty easy if you have a linux server running docker but at the moment all I have is the Pi3 running HAS. I figured I could just create a local add-in to install it but after spending most of the day on it I need some help.

I ran through the tutorial but my first issue is that I can’t just run those docker install commands, the don’t seem to be the right syntax. The tutorial uses “RUN apk add --no-cache” which seems to be a direct replacement for “sudo apt-get install” so OK, I just grabbed the requirements from the “hard way” section of the docco and substitute them in. So I have created an addon for that installs the G++ and Mosquito requirements. But now I get stuck with the next two commands not working.

I feel like i’m going about this the hard way because I don’t really understand linux . Is there some easy way to use the command "docker build -t schollz/find3"to build an addon? can I just grab the docker file from https://github.com/schollz/find3/blob/master/Dockerfile and tweak it into my add on? If I attempt that the add on fails to install with an exit code error 1

Study the source to some existing addons. They are all documented on (mainly if not exclusively) github.