class Dockerfiroonga::Platform::Ubuntu

Public Instance Methods

installation_groonga() click to toggle source
# 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_rroonga() click to toggle source
# 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