Class: Dockerfiroonga::Platform::Ubuntu

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

Instance Method Summary collapse

Methods included from Base

#initialize

Instance Method Details

#installation_groongaObject



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

def installation_groonga
  <<-END_OF_INSTALLATION
RUN apt-get -y install software-properties-common
RUN add-apt-repository -y universe
RUN add-apt-repository -y ppa:groonga/ppa
RUN apt-get update
RUN apt-get -y install groonga
  END_OF_INSTALLATION
end

#installation_rroongaObject



18
19
20
21
22
23
24
25
26
# File 'lib/dockerfiroonga/platform/ubuntu.rb', line 18

def installation_rroonga
  <<-END_OF_INSTALLATION
#{installation_groonga}
RUN apt-get -y install libgroonga-dev
RUN apt-get -y install ruby-dev
RUN apt-get -y install make
RUN gem install rroonga
  END_OF_INSTALLATION
end