Forked from davisp/gist:480ccab2548a79d602d6cc8e1ee16cff
Last active
July 31, 2019 14:01
-
-
Save kocolosk/e2f025d6ee13a0642e21e4e722d6df68 to your computer and use it in GitHub Desktop.
Build CouchDB in a docker in a fresh VM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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