Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kocolosk/e2f025d6ee13a0642e21e4e722d6df68 to your computer and use it in GitHub Desktop.
Save kocolosk/e2f025d6ee13a0642e21e4e722d6df68 to your computer and use it in GitHub Desktop.
Build CouchDB in a docker in a fresh VM
apt-get update
apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
apt-get update
apt-get install -y docker-ce docker-ce-cli containerd.io
docker run -it couchdbdev/debian-stretch-erlang-19.3.6 /bin/bash
# Inside the docker container:
cd tmp
git clone https://github.com/apache/couchdb
cd couchdb
time ./configure --with-curl
time make check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment