forked from sascha-egerer/acs-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
28 lines (19 loc) · 781 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
FROM python:3.5.1
RUN echo "eval \$(ssh-agent -s) >> /dev/null" >> /root/.bashrc
RUN echo "trap 'kill \$SSH_AGENT_PID' EXIT" >> /root/.bashrc
RUN apt-get update
RUN curl -sL https://deb.nodesource.com/setup_4.x | bash -
RUN apt-get install -qqy nodejs
RUN apt-get install -qqy build-essential
RUN npm install azure-cli -g
RUN azure telemetry --disable
RUN azure config mode arm
RUN curl -sSL https://get.docker.com/ | sh
RUN curl -L https://github.com/docker/compose/releases/download/1.7.1/docker-compose-`uname -s`-`uname -m` > docker-compose; mv docker-compose /usr/local/bin/docker-compose; chmod +x /usr/local/bin/docker-compose
COPY config /root/.acs
COPY . src
WORKDIR src
RUN pip install -e .
RUN pip install -e .[test]
RUN python setup.py install
ENTRYPOINT bash