Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
f0e2d836
Commit
f0e2d836
authored
May 19, 2016
by
Mahmoud Zalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sqlite in the workspace
it could be removed to it’s own container later
parent
7f1deb03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
16 deletions
+24
-16
Dockerfile
workspace/Dockerfile
+24
-16
No files found.
workspace/Dockerfile
View file @
f0e2d836
...
...
@@ -11,14 +11,16 @@ ENV LC_CTYPE=UTF-8
ENV
LANG=en_US.UTF-8
ENV
TERM xterm
# Install "software-properties-common" (for add-apt-repository) and add the "PHP 7" ppa
RUN
apt-get update
\
&&
apt-get
install
-y
software-properties-common
\
&&
add-apt-repository
-y
ppa:ondrej/php
# Install "software-properties-common" (for the "add-apt-repository")
RUN
apt-get update
&&
apt-get
install
-y
\
software-properties-common
# Install PHP-CLI 7 and some useful Tools
RUN
apt-get update
\
&&
apt-get
install
-y
\
# Add the "PHP 7" ppa
RUN
add-apt-repository
-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-common
\
php7.0-curl
\
...
...
@@ -27,7 +29,11 @@ RUN apt-get update \
php7.0-mbstring
\
php7.0-mcrypt
\
php7.0-mysql
\
php7.0-sqlite
\
php7.0-sqlite3
\
php7.0-zip
\
sqlite3
\
libsqlite3-dev
\
git
\
curl
\
vim
\
...
...
@@ -36,6 +42,17 @@ RUN apt-get update \
nodejs-dev
\
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
RUN
curl
-s
http://getcomposer.org/installer | php
\
&&
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"
\
&&
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
RUN
.
~/.bashrc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment