File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,4 +126,11 @@ services:
126126 links :
127127 - beanstalkd
128128
129+ # ## Workspace Container #####################################
130+
131+ workspace :
132+ build : ./workspace
133+ volumes_from :
134+ - data
135+
129136# ## Add more Containers below ###############################
Original file line number Diff line number Diff line change 1+ FROM ubuntu:16.04
2+
3+ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
4+
5+ RUN DEBIAN_FRONTEND=noninteractive
6+ RUN locale-gen en_US.UTF-8
7+ ENV LANGUAGE=en_US.UTF-8
8+ ENV LANG=en_US.UTF-8
9+ ENV LC_ALL=en_US.UTF-8
10+
11+ # Install some essential libraries
12+ RUN apt-get update && apt-get install -y \
13+ software-properties-common \
14+ python-software-properties \
15+ autoconf \
16+ file \
17+ g++ \
18+ gcc \
19+ libc-dev \
20+ make \
21+ pkg-config
22+
23+ # Install PHP-CLI 7
24+ RUN add-apt-repository -y ppa:ondrej/php
25+ RUN apt-get update && apt-get install -y \
26+ php7.0-cli \
27+ php7.0-common \
28+ php7.0-curl \
29+ php7.0-json \
30+ php7.0-mbstring \
31+ php7.0-mcrypt \
32+ php7.0-mysql
33+
34+ # Install some Tools
35+ RUN apt-get install -y \
36+ git \
37+ curl \
38+ vim
39+
40+ # Setup the Composer installer
41+ RUN curl -s http://getcomposer.org/installer | php \
42+ && mv composer.phar /usr/local/bin/ \
43+ && alias composer='/usr/local/bin/composer.phar'
44+
45+ # Clean up
46+ RUN rm -r /var/lib/apt/lists/*
47+
48+ ENTRYPOINT ["top" , "-b" ]
49+
50+ WORKDIR /var/www/laravel
51+
You can’t perform that action at this time.
0 commit comments