Last active
August 13, 2019 18:16
-
-
Save davisp/480ccab2548a79d602d6cc8e1ee16cff 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 hello-world | |
docker run couchdbdev/debian-stretch-erlang-19.3.6 | |
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
More from Joan: