Skip to content

Instantly share code, notes, and snippets.

@shov
Created May 12, 2018 12:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save shov/f06e7e4fe5415fb859b500302f086ebc to your computer and use it in GitHub Desktop.
Save shov/f06e7e4fe5415fb859b500302f086ebc to your computer and use it in GitHub Desktop.
Laradock dockerfile parts for php-fpm and workspace to install zeroMQ zmq
##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