Created
May 12, 2018 12:23
-
-
Save shov/f06e7e4fe5415fb859b500302f086ebc to your computer and use it in GitHub Desktop.
Laradock dockerfile parts for php-fpm and workspace to install zeroMQ zmq
This file contains hidden or 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
##PHP-FPM | |
RUN apt-get update -yqq && \ | |
apt-get install -y build-essential libtool autoconf pkg-config libsodium-dev libzmq-dev && \ | |
echo '' | pecl install -o -f zmq-beta && rm -rf /tmp/pear && \ | |
echo "extension=zmq.so" > /usr/local/etc/php/conf.d/zmq.ini \ | |
##WORCKSPACE | |
RUN apt-get update -yqq && \ | |
apt-get install -y build-essential libtool autoconf pkg-config libsodium-dev libzmq-dev && \ | |
echo '' | pecl install -o -f zmq-beta && rm -rf /tmp/pear && \ | |
echo "extension=zmq.so" > /etc/php/7.1/cli/php.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment