diff options
author | ytti <saku@ytti.fi> | 2017-02-16 00:04:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-16 00:04:46 +0200 |
commit | 84921f07587efe8c92f3e4576ba6ac016b33a951 (patch) | |
tree | 9dcb0de6a7d31db627bd953e92f27b066f26ec0e | |
parent | 0dc09ab13409c66425b7d5cc0aef930a7edc6097 (diff) | |
parent | 3e534bd69c9e4379e49960dc203390f8adf8efe0 (diff) |
Merge pull request #725 from Netflix-Skunkworks/dockerfile_support_any_branch
Dockerfile support any branch
-rw-r--r-- | Dockerfile | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -3,9 +3,22 @@ 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 -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 rm -rf /tmp/oxidized RUN apt-get remove -y ruby-dev pkg-config make cmake |