dockerfiles/net/olegdb/Dockerfile

16 lines
475 B
Docker
Raw Normal View History

2015-02-04 05:15:41 +00:00
FROM flitter/init
RUN apt-get update && apt-get install -y --no-install-recommends build-essential make golang &&\
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* &&\
mkdir /oleg/src -p &&\
wget https://github.com/infoforcefeed/OlegDB/archive/v.0.1.5.tar.gz -O /oleg/src/oleg.tar.gz &&\
cd /oleg/src && tar xf oleg.tar.gz &&\
cd OlegDB-v.0.1.5 && make && make install
ADD olegdb.conf /oleg/db.conf
2015-02-07 00:24:34 +00:00
ADD runit/ /etc/service
2015-02-04 05:15:41 +00:00
EXPOSE 38080
CMD /sbin/my_init