瀏覽代碼

Added Dockerfile for building rudder

Eugene Yakubovich 10 年之前
父節點
當前提交
a695350934
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      Dockerfile

+ 9 - 0
Dockerfile

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