Change deploy process so things cache in docker better

This commit is contained in:
Christine Dodrill 2015-02-06 18:46:08 -08:00
parent 80878f41c9
commit 7592625744
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,5 @@
FROM xena/lapis:1.7.7.1
ADD oleg /seed/oleg
RUN cd /seed/oleg && ./seed.sh
RUN mv /seed/oleg/olegdb.conf /oleg/db.conf
ADD oleg/runit/ /etc/service

View File

@ -4,6 +4,9 @@ overlay:
- apt-get update
- apt-get install -y lua-sec
- apt-get install -y lua-discount
- 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
dependencies:
- https://rocks.moonscript.org/manifests/dhkolf/dkjson-2.5-1.rockspec