diff options
author | Mike Bryant <m@ocado.com> | 2016-01-19 14:04:29 +0000 |
---|---|---|
committer | Mike Bryant <m@ocado.com> | 2016-01-19 14:04:29 +0000 |
commit | 3e72b6a35f2aff6a299019c34f4b57e97ba480aa (patch) | |
tree | fbd988a58c3216d9a608d432e981c818bce87087 /Dockerfile | |
parent | f3f6b5c9e0fdebcdaaf6cc01621c8dd6d3096e58 (diff) |
Switch to phusion's docker-baseimage, to get service management and process reaping
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,11 +1,14 @@ -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 |