Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Dockerfile for building an avancedb server #76

Merged
merged 1 commit into from
Jul 4, 2017

Conversation

amuino
Copy link
Contributor

@amuino amuino commented Jun 5, 2017

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:

docker build . -t avancedb

This will create a docker image named avances which exposes port 5994

Running:
This will run the AvanceDB container, mapping 5994 in the container to the CouchdDB standard port 5984. The container will run on foreground and can be killed by CTRL+C.

docker run --rm -it -p 5984:5994 avancedb

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling e7a545e on amuino:docker into ** on RipcordSoftware:master**.

@craigminihan
Copy link
Contributor

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.

@craigminihan craigminihan reopened this Jul 4, 2017
@craigminihan craigminihan merged commit d24c064 into RipcordSoftware:master Jul 4, 2017
@craigminihan
Copy link
Contributor

@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 798a939.

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!

@amuino amuino deleted the docker branch July 9, 2017 21:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants