File: Dockerfile

package info (click to toggle)
webdis 0.1.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 580 kB
  • sloc: ansic: 5,250; sh: 254; python: 247; makefile: 90
file content (14 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM tianon/debian:wheezy
MAINTAINER Nicolas Favre-Felix <n.favrefelix@gmail.com>

RUN apt-get -y --force-yes install wget make gcc libevent-dev
RUN apt-get -y --force-yes install redis-server
RUN wget --no-check-certificate https://github.com/nicolasff/webdis/archive/0.1.1.tar.gz -O webdis-0.1.1.tar.gz
RUN tar -xvzf webdis-0.1.1.tar.gz
RUN cd webdis-0.1.1 && make && make install && cd ..
RUN rm -rf webdis-0.1.1 webdis-0.1.1.tag.gz
RUN apt-get remove -y wget make gcc

CMD /etc/init.d/redis-server start && /usr/local/bin/webdis /etc/webdis.prod.json && bash

EXPOSE 7379