-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
97 lines (90 loc) · 2.74 KB
/
Dockerfile
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# Pull base image
FROM resin/rpi-raspbian:wheezy
MAINTAINER Kipp Bowen <[email protected]>
# Install just the basics and scm tools
RUN apt-get update && apt-get install -y --no-install-recommends \
# apt-utils \
locales \
ca-certificates \
curl \
wget \
openssh-client \
git \
subversion \
&& rm -rf /var/lib/apt/lists/*
RUN echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen \
&& locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN echo 'LANG='${LANG}'\nLANGUAGE='${LANGUAGE}'\nLC_ALL='${LC_ALL} > /etc/default/locale
# Add various build deps/tools
RUN apt-get update && apt-get install -y \
# pv \
autoconf \
build-essential \
libcurl4-gnutls-dev \
# libcurl4-openssl-dev \
# imagemagick \
# libbz2-dev \
# libevent-dev \
# libffi-dev \
# libglib2.0-dev \
# libjpeg-dev \
# libmagickcore-dev \
# libmagickwand-dev \
# libmysqlclient-dev \
# libncurses-dev \
# libpq-dev \
# libreadline-dev \
# libsqlite3-dev \
# libssl-dev \
# libxml2-dev \
# libxslt-dev \
# libyaml-dev \
# zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
# Add vim, python, ruby, couchdb, nodejs,
RUN apt-get update && apt-get install -y --no-install-recommends \
vim \
python-dev \
python-pip \
# python-virtualenv \
# python3-dev \
# python3-pip \
couchdb \
python-couchdb \
ruby \
ruby-dev \
rubygems \
nodejs=0.6.19~dfsg1-6 \
nodejs-dev \
npm \
&& rm -rf /var/lib/apt/lists/*
# Add node modules
#RUN apt-get update && apt-get install -y --no-install-recommends \
# node-abbrev \
# node-block-stream \
# node-fstream \
# node-graceful-fs \
# node-inherits \
# node-ini \
# node-lru-cache \
# node-minimatch \
# node-mkdirp \
# node-node-uuid \
# node-nopt \
# node-request \
# node-rimraf \
# node-semver \
# node-tar \
# node-which \
# && rm -rf /var/lib/apt/lists/*
RUN npm config set registry http://registry.npmjs.org/ \
&& npm install -g [email protected] \
#RUN npm config set registry https://registry.npmjs.org/
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
RUN ln -s `which nodejs` /usr/bin/node