-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
21 lines (20 loc) · 929 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM ubuntu:xenial
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN apt-get update -y
RUN apt-get install -y apt-utils git libkrb5-dev libcairo2-dev
RUN apt-get install -y libjpeg8-dev libpango1.0-dev
RUN apt-get install -y libgif-dev build-essential
RUN apt-get install -y openjdk-8-jre
RUN apt-get install -y g++ wget
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
RUN echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.2.list
RUN apt-get update -y
RUN apt-get install -y mongodb-org wget
RUN wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.2/install.sh | bash
# Install NODE
RUN source ~/.nvm/nvm.sh; \
nvm install 6.3.1 \
nvm use 6.3.1;
ENV PATH /root/.nvm/versions/node/v6.3.1/bin:$PATH
RUN npm install -g bower gulp