aboutsummaryrefslogtreecommitdiffstats
path: root/dockerfiles/Dockerfile.codi.deps
blob: dc563d0f705bd6cc9bd6c9b1dad7dc9ebdad1b1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This file describes the standard way to build the dependencies for a CROPS
# dispatcher image
#
# Usage:
#
# # Build CODI dependencies image with the following command:
#
# docker build -t crops/codi:deps -f Dockerfile.codi.deps .
#

FROM debian:wheezy
MAINTAINER Todor Minchev <todor.minchev@linux.intel.com>

# Install dependencies
RUN apt-get update -qq && apt-get install -y -qq \
	libsqlite3-dev \
	libjansson-dev	\
	git	\
	wget \
	daemontools \
	build-essential && \
	apt-get upgrade -y -qq

#Install a version of curl with unix sockets support
RUN wget -q -P /tmp http://curl.haxx.se/download/curl-7.45.0.tar.gz && \
	cd /tmp && \
	tar xf curl-7.45.0.tar.gz && \
	cd curl-7.45.0 && \
	./configure --prefix=/usr --enable-unix-sockets && \
	make && \
	make install