-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
40 lines (29 loc) · 1.3 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
FROM ubuntu:14.04
RUN apt-get update
# Idea from http://nathanleclaire.com/blog/2014/07/12/10-docker-tips-and-tricks-that-will-make-you-sing-a-whale-song-of-joy/
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN apt-get install vim -y
RUN apt-get install git -y
RUN apt-get install subversion -y
RUN apt-get install curl -y
RUN apt-get install php5-cli -y
RUN apt-get install php5-sqlite -y
RUN apt-get install man -y
RUN apt-get install python3-pip -y
RUN apt-get install zip -y
RUN curl -sSL https://get.docker.com/ubuntu/ | sh
WORKDIR /root
ADD . /root
RUN curl -L https://github.com/docker/compose/releases/download/1.1.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
RUN chmod +x /usr/local/bin/docker-compose
RUN curl http://psysh.org/psysh > /usr/local/bin/psysh
RUN chmod +x /usr/local/bin/psysh
RUN mkdir -p /root/.local/share/psysh
RUN curl http://psysh.org/manual/en/php_manual.sqlite > /root/.local/share/psysh/php_manual.sqlite
RUN curl -sL https://deb.nodesource.com/setup | sudo bash -
RUN apt-get install -y nodejs
RUN apt-get install -y build-essential
RUN apt-get install -y wget
RUN apt-get install -y tree
RUN curl -sS https://getcomposer.org/installer | php -- --filename=composer --install-dir=/usr/local/bin
CMD [ "/bin/bash", "-l" ]