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
  "RUN rpm -ivh http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm\nRUN yum makecache\nRUN yum install -y groonga\n  END_OF_INSTALLATION\nend\n"

#installation_rroongaObject



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

def installation_rroonga
  "\#{installation_groonga}\nRUN yum install -y groonga-devel\nRUN yum install -y ruby-devel\nRUN yum install -y make gcc zlib-devel openssl-devel\nRUN gem install rdoc\nRUN gem install rroonga\n  END_OF_INSTALLATION\nend\n"