Skip to content

Commit

Permalink
Removed Yasd, xdebug should be supported for latest Swoole
Browse files Browse the repository at this point in the history
  • Loading branch information
eldadfux committed Nov 2, 2023
1 parent eba7266 commit c5cb10a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
12 changes: 0 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,6 @@ RUN \
make && make install && \
cd ..

## Swoole Debugger setup
RUN cd /tmp && \
apk add boost-dev && \
git clone --depth 1 https://github.com/swoole/yasd && \
cd yasd && \
phpize && \
./configure && \
make && make install && \
cd ..;

## Imagick Extension
FROM compile AS imagick
RUN \
Expand Down Expand Up @@ -195,7 +185,6 @@ RUN \
WORKDIR /usr/src/code

COPY --from=swoole /usr/local/lib/php/extensions/no-debug-non-zts-20220829/swoole.so /usr/local/lib/php/extensions/no-debug-non-zts-20220829/
COPY --from=swoole /usr/local/lib/php/extensions/no-debug-non-zts-20220829/yasd.so /usr/local/lib/php/extensions/no-debug-non-zts-20220829/
COPY --from=redis /usr/local/lib/php/extensions/no-debug-non-zts-20220829/redis.so /usr/local/lib/php/extensions/no-debug-non-zts-20220829/
COPY --from=imagick /usr/local/lib/php/extensions/no-debug-non-zts-20220829/imagick.so /usr/local/lib/php/extensions/no-debug-non-zts-20220829/
COPY --from=yaml /usr/local/lib/php/extensions/no-debug-non-zts-20220829/yaml.so /usr/local/lib/php/extensions/no-debug-non-zts-20220829/
Expand All @@ -209,7 +198,6 @@ COPY --from=snappy /usr/local/lib/php/extensions/no-debug-non-zts-20220829/snapp

# Enable Extensions
RUN echo extension=swoole.so >> /usr/local/etc/php/conf.d/swoole.ini
RUN echo extension=yasd.so >> /usr/local/etc/php/conf.d/yasd.ini
RUN echo extension=redis.so >> /usr/local/etc/php/conf.d/redis.ini
RUN echo extension=imagick.so >> /usr/local/etc/php/conf.d/imagick.ini
RUN echo extension=yaml.so >> /usr/local/etc/php/conf.d/yaml.ini
Expand Down
3 changes: 0 additions & 3 deletions tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ fileExistenceTests:
- name: 'Check swoole extension'
path: /usr/local/lib/php/extensions/no-debug-non-zts-20220829/swoole.so
shouldExist: true
- name: 'Check swoole Debugger extension'
path: /usr/local/lib/php/extensions/no-debug-non-zts-20220829/yasd.so
shouldExist: true
- name: 'Check redis extension'
path: /usr/local/lib/php/extensions/no-debug-non-zts-20220829/redis.so
shouldExist: true
Expand Down

0 comments on commit c5cb10a

Please sign in to comment.