diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -3,9 +3,23 @@ MAINTAINER Samer Abdel-Hafez <sam@arahant.net> RUN add-apt-repository ppa:brightbox/ruby-ng && \ apt-get update && \ - apt-get install -y ruby2.3 ruby2.3-dev libsqlite3-dev libssl-dev pkg-config make cmake libssh2-1-dev + apt-get install -y ruby2.3 ruby2.3-dev libsqlite3-dev libssl-dev pkg-config make cmake libssh2-1-dev git g++ -RUN gem install oxidized oxidized-web --no-ri --no-rdoc +RUN mkdir -p /tmp/oxidized +COPY . /tmp/oxidized/ +WORKDIR /tmp/oxidized + +RUN gem build oxidized.gemspec +RUN gem install oxidized-*.gem + +# web interface +RUN gem install oxidized-web --no-ri --no-rdoc + +# dependencies for hooks +RUN gem install aws-sdk +RUN gem install slack-api + +RUN rm -rf /tmp/oxidized RUN apt-get remove -y ruby-dev pkg-config make cmake |