blob: 9a36e8cfad6adbde286c6b8b042e38d1c5b06acf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
FROM phusion/baseimage:0.9.18
MAINTAINER Samer Abdel-Hafez <sam@arahant.net>
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
ADD extra/oxidized.runit /etc/service/oxidized/run
ADD extra/auto-reload-config.runit /etc/service/auto-reload-config/run
VOLUME ["/root/.config/oxidized"]
EXPOSE 8888/tcp
|