add sqlite in the workspace
it could be removed to it’s own container later
This commit is contained in:
parent
7f1deb0342
commit
f0e2d83618
@ -11,14 +11,16 @@ ENV LC_CTYPE=UTF-8
|
|||||||
ENV LANG=en_US.UTF-8
|
ENV LANG=en_US.UTF-8
|
||||||
ENV TERM xterm
|
ENV TERM xterm
|
||||||
|
|
||||||
# Install "software-properties-common" (for add-apt-repository) and add the "PHP 7" ppa
|
# Install "software-properties-common" (for the "add-apt-repository")
|
||||||
RUN apt-get update \
|
RUN apt-get update && apt-get install -y \
|
||||||
&& apt-get install -y software-properties-common \
|
software-properties-common
|
||||||
&& add-apt-repository -y ppa:ondrej/php
|
|
||||||
|
|
||||||
# Install PHP-CLI 7 and some useful Tools
|
# Add the "PHP 7" ppa
|
||||||
RUN apt-get update \
|
RUN add-apt-repository -y \
|
||||||
&& apt-get install -y \
|
ppa:ondrej/php
|
||||||
|
|
||||||
|
# Install PHP-CLI 7, some PHP extentions and some useful Tools with APT
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
php7.0-cli \
|
php7.0-cli \
|
||||||
php7.0-common \
|
php7.0-common \
|
||||||
php7.0-curl \
|
php7.0-curl \
|
||||||
@ -27,7 +29,11 @@ RUN apt-get update \
|
|||||||
php7.0-mbstring \
|
php7.0-mbstring \
|
||||||
php7.0-mcrypt \
|
php7.0-mcrypt \
|
||||||
php7.0-mysql \
|
php7.0-mysql \
|
||||||
|
php7.0-sqlite \
|
||||||
|
php7.0-sqlite3 \
|
||||||
php7.0-zip \
|
php7.0-zip \
|
||||||
|
sqlite3 \
|
||||||
|
libsqlite3-dev \
|
||||||
git \
|
git \
|
||||||
curl \
|
curl \
|
||||||
vim \
|
vim \
|
||||||
@ -36,6 +42,17 @@ RUN apt-get update \
|
|||||||
nodejs-dev \
|
nodejs-dev \
|
||||||
npm
|
npm
|
||||||
|
|
||||||
|
# Install gulp and bower with NPM
|
||||||
|
RUN npm install -g \
|
||||||
|
gulp \
|
||||||
|
bower
|
||||||
|
|
||||||
|
# Add a symbolic link for Node
|
||||||
|
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
||||||
|
|
||||||
|
# Add an alias for PHPUnit
|
||||||
|
RUN echo "alias phpunit='./vendor/bin/phpunit'" >> ~/.bashrc
|
||||||
|
|
||||||
# Install Composer
|
# Install Composer
|
||||||
RUN curl -s http://getcomposer.org/installer | php \
|
RUN curl -s http://getcomposer.org/installer | php \
|
||||||
&& mv composer.phar /usr/local/bin/ \
|
&& mv composer.phar /usr/local/bin/ \
|
||||||
@ -45,15 +62,6 @@ RUN curl -s http://getcomposer.org/installer | php \
|
|||||||
RUN composer.phar global require "laravel/installer" \
|
RUN composer.phar global require "laravel/installer" \
|
||||||
&& echo "export PATH='~/.composer/vendor/bin:$PATH'" >> ~/.bashrc
|
&& echo "export PATH='~/.composer/vendor/bin:$PATH'" >> ~/.bashrc
|
||||||
|
|
||||||
# Install gulp and bower
|
|
||||||
RUN npm install -g gulp bower
|
|
||||||
|
|
||||||
# Add a symbolic link
|
|
||||||
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
|
||||||
|
|
||||||
# Add an alias for PHPUnit
|
|
||||||
RUN echo "alias phpunit='./vendor/bin/phpunit'" >> ~/.bashrc
|
|
||||||
|
|
||||||
# Source the bash
|
# Source the bash
|
||||||
RUN . ~/.bashrc
|
RUN . ~/.bashrc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user