Created
March 9, 2021 16:28
-
-
Save juniorb2ss/9198f456edbe871be185998bb047ae38 to your computer and use it in GitHub Desktop.
ext-fiber dockerfile
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
FROM php:latest | |
RUN apt-get update && \ | |
apt-get install -y git && \ | |
git clone https://github.com/amphp/ext-fiber && \ | |
cd ext-fiber && phpize && ./configure && make && make test && make install | |
RUN echo '\ | |
extension=fiber\n\ | |
' >> /usr/local/etc/php/conf.d/docker-php-ext-fiber.ini | |
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | |
WORKDIR /fiber | |
COPY . . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment