2016-02-24 19:57:17 +00:00
|
|
|
FROM debian
|
|
|
|
|
|
|
|
# Install prerequirements or NVM
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y \
|
|
|
|
curl \
|
|
|
|
build-essential \
|
|
|
|
python
|
|
|
|
|
|
|
|
# Install NVM with node
|
|
|
|
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | NVM_DIR="/nvm" bash \
|
|
|
|
&& bash -c "source /nvm/nvm.sh \
|
|
|
|
&& nvm install 4.3.1 \
|
|
|
|
&& nvm alias default v4.3.1"
|
|
|
|
|
|
|
|
ADD .bashrc /.bashrc
|
2016-02-25 08:01:27 +00:00
|
|
|
|
2016-02-25 08:14:50 +00:00
|
|
|
ENV BASH_ENV /.bashrc
|
|
|
|
|
2016-02-27 22:14:13 +00:00
|
|
|
RUN ln -snf /bin/bash /bin/sh
|