summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorNat Morris <nat@nuqe.net>2017-02-16 16:21:01 +0000
committerGitHub <noreply@github.com>2017-02-16 16:21:01 +0000
commite2d583728543e0b46c21a8fad56674bbda544006 (patch)
tree12f9fe9ba263121d9bf6fdc819444d8c19321a5a /Dockerfile
parent9a5bbb784ae36b824072051e570d5f752c531d68 (diff)
parentdeae31cb04c184266e1b9c843325604a90113665 (diff)
Merge pull request #10 from ytti/master
Bring Netflix master in sync with upstream
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile17
1 files changed, 15 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 905825e..5bb2a4c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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