Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-mongodb
Project
Project
Details
Activity
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
sinan
laravel-mongodb
Commits
e2a91bb7
Commit
e2a91bb7
authored
Jun 26, 2018
by
Stanislav Shupilkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add changes to Dcokerfile
parent
43c38004
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
.travis.yml
.travis.yml
+1
-1
Dockerfile
Dockerfile
+3
-2
No files found.
.travis.yml
View file @
e2a91bb7
...
@@ -13,7 +13,7 @@ install:
...
@@ -13,7 +13,7 @@ install:
-
sudo pip install docker-compose
-
sudo pip install docker-compose
-
docker-compose version
-
docker-compose version
-
cat Dockerfile
-
cat Dockerfile
-
docker-compose build --build-arg PHP_VERSION=
"${TRAVIS_PHP_VERSION}"
-
docker-compose build --build-arg PHP_VERSION=
${TRAVIS_PHP_VERSION}
script
:
script
:
-
docker-compose up --exit-code-from php
-
docker-compose up --exit-code-from php
Dockerfile
View file @
e2a91bb7
...
@@ -5,8 +5,9 @@ FROM php:${PHP_VERSION}-cli
...
@@ -5,8 +5,9 @@ FROM php:${PHP_VERSION}-cli
RUN
pecl
install
xdebug
RUN
pecl
install
xdebug
RUN
apt-get update
&&
\
RUN
apt-get update
&&
\
apt-get
install
-y
autoconf pkg-config libssl-dev git
&&
\
apt-get
install
-y
autoconf pkg-config libssl-dev git zlib1g-dev
pecl
install
mongodb git zlib1g-dev
&&
docker-php-ext-enable mongodb
&&
\
RUN
pecl
install
mongodb
&&
docker-php-ext-enable mongodb
&&
\
docker-php-ext-install
-j
$(
nproc
)
pdo pdo_mysql zip
&&
docker-php-ext-enable xdebug
docker-php-ext-install
-j
$(
nproc
)
pdo pdo_mysql zip
&&
docker-php-ext-enable xdebug
RUN
curl
-sS
https://getcomposer.org/installer | php
\
RUN
curl
-sS
https://getcomposer.org/installer | php
\
...
...
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