Skip to content

Commit 0e3cef1

Browse files
authored
Env: add php ev extension (#53)
1 parent 1c2073e commit 0e3cef1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ ENV XMR_SOCKETS_WS=0.0.0.0:8080
1919
ENV XMR_SOCKETS_API=0.0.0.0:8081
2020
ENV XMR_SOCKETS_ZM_PORT=9505
2121

22-
RUN apt-get update && apt-get install -y libzmq3-dev git \
22+
RUN apt-get update && apt-get install -y libzmq3-dev libev-dev git \
2323
&& rm -rf /var/lib/apt/lists/*
2424

25+
RUN pecl install ev && docker-php-ext-enable ev
26+
2527
RUN git clone https://github.com/zeromq/php-zmq.git \
2628
&& cd php-zmq \
2729
&& phpize && ./configure \

0 commit comments

Comments
 (0)