Last active
January 13, 2021 21:15
-
-
Save dhernandez/3468de11a18b996a41cd02cef51e12d0 to your computer and use it in GitHub Desktop.
Docker lines to add couchbase PHP SDK in Alpine
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
RUN apk add --no-cache \ | |
gcc \ | |
g++ \ | |
make \ | |
php7-dev \ | |
zlib-dev \ | |
libcouchbase-dev \ | |
; | |
RUN pecl channel-update pecl.php.net \ | |
&& pecl install --alldeps pcs-1.3.3 \ | |
&& pecl install --alldeps couchbase-2.4.6 \ | |
; |
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
extension=igbinary | |
extension=couchbase |
You are right, thank you for your comment!
Not working for can you specify the php version?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Initialization order is very important!