forked from vidyar/ubuntu1404_nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (23 loc) · 999 Bytes
/
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
FROM shippableimages/ubuntu1404_base:latest
RUN apt-get update && apt-get install -y \
ca-certificates \
curl software-properties-common;
# Install a default nodejs for the system
RUN curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
# RUN apt-add-repository ppa:ansible/ansible -y
# Install and configure ArangoDB 2.2
RUN DEBIAN_FRONTEND=noninteractive && \
cd /tmp && \
curl -sL https://www.arangodb.org/repositories/arangodb2/xUbuntu_14.04/Release.key | apt-key add - && \
echo 'deb https://www.arangodb.org/repositories/arangodb2/xUbuntu_14.04/ /' >> /etc/apt/sources.list.d/arangodb.list
RUN apt-get update
# RUN apt-get install ansible -y
RUN apt-get install apt-transport-https -y
RUN apt-get install nodejs -y
RUN apt-get install arangodb -y
RUN apt-get install python-dev -y
RUN pip install ansible
# retain the database directory and the Foxx Application directory
VOLUME ["/var/lib/arangodb", "/var/lib/arangodb-apps"]
# standard port
EXPOSE 8529