summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-01-19 18:17:20 +0200
committerytti <saku@ytti.fi>2016-01-19 18:17:20 +0200
commit93593578aabba6cbbc11b331ead3c4271b3569f6 (patch)
tree502d08204bc1c16896413d9d3d1746f3ce724723 /Dockerfile
parent7948a07b5b5916809ab02d18cd120b3afaf48bfd (diff)
parenteb3d86fe6debc286d74e0eed5a61d5a564b324c4 (diff)
Merge pull request #273 from ocadotechnology/wip-auto-reload-config
Add the option of automatically reloading the config
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index b2aecfb..0eeeb8d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,11 +1,15 @@
-FROM debian:latest
+FROM phusion/baseimage:0.9.18
MAINTAINER Samer Abdel-Hafez <sam@arahant.net>
-RUN apt-get update && \
- apt-get install -y ruby ruby-dev libsqlite3-dev libssl-dev pkg-config make cmake
+RUN add-apt-repository ppa:brightbox/ruby-ng && \
+ apt-get update && \
+ apt-get install -y ruby2.1 ruby2.1-dev libsqlite3-dev libssl-dev pkg-config make cmake
RUN gem install oxidized oxidized-web --no-ri --no-rdoc
RUN apt-get remove -y ruby-dev pkg-config make cmake
-RUN apt-get -y autoremove \ No newline at end of file
+RUN apt-get -y autoremove
+
+ADD extra/oxidized.runit /etc/service/oxidized/run
+ADD extra/auto-reload-config.runit /etc/service/auto-reload-config/run