Created
February 20, 2014 16:12
-
-
Save lmars/9117269 to your computer and use it in GitHub Desktop.
dicoverd Dockerfile
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
FROM ubuntu:precise | |
# Set DEBIAN_FRONTEND to non-interactive to avoid useless warnings | |
ENV DEBIAN_FRONTEND noninteractive | |
# Update apt sources | |
RUN apt-get update | |
# Support adding PPAs | |
RUN apt-get install -y python-software-properties | |
# Install git | |
RUN add-apt-repository -y ppa:git-core/ppa && \ | |
apt-get update && \ | |
apt-get install -y git | |
# Install Go | |
RUN add-apt-repository -y ppa:tsuru/golang && \ | |
apt-get update && \ | |
apt-get install -y golang | |
# Install Ruby | |
RUN add-apt-repository -y ppa:brightbox/ruby-ng && \ | |
apt-get update && \ | |
apt-get install -y ruby2.0 | |
# Clone and build etcd | |
RUN git clone -b master https://github.com/coreos/etcd.git /etcd && \ | |
cd /etcd && \ | |
./build | |
# Clone and build discoverd | |
RUN git clone -b master https://github.com/flynn/discoverd.git /discoverd && \ | |
cd /discoverd && \ | |
go build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment