Class: Dockerfiroonga::Platform::Centos

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/dockerfiroonga/platform/centos.rb

Instance Method Summary collapse

Methods included from Base

#initialize

Instance Method Details

#installation_groongaObject



8
9
10
11
12
13
14
# File 'lib/dockerfiroonga/platform/centos.rb', line 8

def installation_groonga
  <<-END_OF_INSTALLATION
RUN rpm -ivh http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm
RUN yum makecache
RUN yum install -y groonga
  END_OF_INSTALLATION
end

#installation_rroongaObject



16
17
18
19
20
21
22
23
24
25
# File 'lib/dockerfiroonga/platform/centos.rb', line 16

def installation_rroonga
  <<-END_OF_INSTALLATION
#{installation_groonga}
RUN yum install -y groonga-devel
RUN yum install -y ruby-devel
RUN yum install -y make gcc zlib-devel openssl-devel
RUN gem install rdoc
RUN gem install rroonga
  END_OF_INSTALLATION
end