|
|
@@ -1,16 +1,17 @@
|
|
|
FROM centos:6.6
|
|
|
|
|
|
+RUN yum install -y yum-plugin-ovl
|
|
|
RUN yum install -y initscripts curl tar gcc libc6-dev git gcc-c++ openssl-devel
|
|
|
RUN yum install -y g++ make automake autoconf curl-devel zlib-devel httpd-devel apr-devel apr-util-devel sqlite-devel
|
|
|
RUN yum install -y wget yum-utils bzip2 bzip2-devel
|
|
|
RUN yum install -y fontconfig freetype freetype-devel fontconfig-devel libstdc++
|
|
|
RUN yum install -y rpm-build patch readline readline-devel libtool bison lzma
|
|
|
+RUN yum install -y which tar
|
|
|
|
|
|
# Install RUBY 1.9.3
|
|
|
# install necessary utilities
|
|
|
-RUN yum install -y which tar
|
|
|
+# RUN yum install -y which tar
|
|
|
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
|
|
|
-#RUN curl -sSL https://get.rvm.io | bash -s stable
|
|
|
RUN curl -sSl https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer | bash -s stable
|
|
|
RUN source /etc/profile.d/rvm.sh
|
|
|
RUN /bin/bash -l -c "rvm requirements"
|
|
|
@@ -33,7 +34,7 @@ RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
|
|
|
ENV GOPATH /go
|
|
|
ENV PATH /go/bin:$PATH
|
|
|
|
|
|
-ADD ./scripts/build/build.sh /tmp/
|
|
|
+ADD build.sh /tmp/
|
|
|
|
|
|
WORKDIR /tmp/
|
|
|
|