Dockerfile 419 B

123456789
  1. FROM ubuntu:12.04
  2. # Let's install go just like Docker (from source).
  3. RUN apt-get update -q
  4. RUN DEBIAN_FRONTEND=noninteractive apt-get install -qy build-essential curl git linux-libc-dev
  5. RUN curl -s https://storage.googleapis.com/golang/go1.3.1.src.tar.gz | tar -v -C /usr/local -xz
  6. RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1
  7. ENV PATH /usr/local/go/bin:$PATH
  8. ADD . /opt/rudder
  9. RUN cd /opt/rudder && ./build