Closed amuino closed 7 years ago
Thanks for the PR @amuino - I didn't notice it until now. I've got some time to look at Docker so I'll get a chance to integrate your commit into the release build and a docker hub push which will be really cool.
@amuino I've created a bunch of Dockerfiles (based on your PR) and a Makefile to build the images and pushed a runnable image to hub.docker. The changes started at commit 798a939b762a478327174d9ddf2dec30250fa1aa.
You run the image with docker run -d -p 5994:5994 ripcordsoftware/avancedb
. I'll update the README with more info on the process later - thanks for the inspiration!
Problem
Currently, binaries need to be built for every platform, which may not be convenient. There are plans to release packages for major linux distros, but that will also take some effort.
Solution
Provide a
Dockerfile
so it is easy to build and publish (in docker hub or similar) a prebuilt AvanceDB server.How it works
Building: After cloning with submodules:
This will create a docker image named
avances
which exposes port5994
Running: This will run the AvanceDB container, mapping
5994
in the container to the CouchdDB standard port5984
. The container will run on foreground and can be killed byCTRL
+C
.