diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ec60f07 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,72 @@ +# +#-------------------------------------------------------------------------- +# Image Setup +#-------------------------------------------------------------------------- +# + +FROM phusion/baseimage:latest + +MAINTAINER Mahmoud Zalt + +RUN DEBIAN_FRONTEND=noninteractive +RUN locale-gen en_US.UTF-8 + +ENV LANGUAGE=en_US.UTF-8 +ENV LC_ALL=en_US.UTF-8 +ENV LC_CTYPE=UTF-8 +ENV LANG=en_US.UTF-8 +ENV TERM xterm + +# Add the "PHP 7" ppa +RUN apt-get install -y software-properties-common && \ + add-apt-repository -y ppa:ondrej/php + +# +#-------------------------------------------------------------------------- +# Software's Installation +#-------------------------------------------------------------------------- +# + +# Install "PHP Extentions", "libraries", "Software's" +RUN apt-get update && \ + apt-get install -y --force-yes \ + php7.0-cli \ + php7.0-common \ + php7.0-curl \ + php7.0-json \ + php7.0-xml \ + php7.0-mbstring \ + php7.0-mcrypt \ + php7.0-mysql \ + php7.0-pgsql \ + php7.0-sqlite \ + php7.0-sqlite3 \ + php7.0-zip \ + php7.0-memcached \ + php7.0-gd \ + pkg-config \ + php-dev \ + libcurl4-openssl-dev \ + libedit-dev \ + libssl-dev \ + libxml2-dev \ + xz-utils \ + libsqlite3-dev \ + sqlite3 \ + git \ + curl \ + vim \ + nano \ + && apt-get clean + +##################################### +# Composer: +##################################### + +# Install composer and add its bin to the PATH. +RUN curl -s http://getcomposer.org/installer | php && \ + echo "export PATH=${PATH}:/var/www/laravel/vendor/bin" >> ~/.bashrc && \ + mv composer.phar /usr/local/bin/composer + +# Source the bash +RUN . ~/.bashrc \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..81d18d8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Mahmoud Zalt (mahmoud@zalt.me) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..66aef22 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +#LaraDock Workspace Base Image + + +Visit the [LaraDock](https://github.com/LaraDock/laradock) repository. \ No newline at end of file