forked from nexilo/xdevapi-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5edc94b
commit bce32eb
Showing
3 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
FROM nanoninja/php-fpm:7.1 | ||
FROM ubuntu:16.04 | ||
|
||
RUN apt-get update && apt-get -y install libboost-all-dev protobuf-compiler libprotobuf-dev | ||
RUN apt update | ||
RUN apt -y install build-essential libprotobuf-dev libboost-dev openssl protobuf-compiler software-properties-common vim mc | ||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C | ||
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php -y | ||
RUN apt update | ||
RUN apt -y install php7.1-cli php7.1-dev php7.1-mysql php7.1-pdo php7.1-xml composer | ||
RUN pecl install mysql_xdevapi | ||
RUN echo "extension=mysql_xdevapi.so" > /etc/php/7.1/cli/conf.d/30-mysqlxdevapi.ini |