mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-02 12:37:47 +01:00
More debugging attempts
This commit is contained in:
parent
c25e3f9198
commit
232e81f827
@ -259,14 +259,8 @@ STOPSIGNAL SIGQUIT
|
|||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
RUN apk add --no-cache make g++ && \
|
ENV CFLAGS="-g -O0"
|
||||||
curl -sSLf https://github.com/danog/PrimeModule-ext/archive/refs/tags/2.0.tar.gz | tar -xz && \
|
ENV CXXFLAGS="-g -O0"
|
||||||
cd PrimeModule-ext-2.0 && \
|
|
||||||
make -j$(nproc) && \
|
|
||||||
make install && \
|
|
||||||
cd .. && \
|
|
||||||
rm -r PrimeModule-ext-2.0 && \
|
|
||||||
apk del make g++
|
|
||||||
|
|
||||||
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
||||||
|
|
||||||
@ -276,6 +270,18 @@ RUN chmod +x /usr/local/bin/install-php-extensions && \
|
|||||||
|
|
||||||
RUN apk add --no-cache ffmpeg nghttp2 jemalloc
|
RUN apk add --no-cache ffmpeg nghttp2 jemalloc
|
||||||
|
|
||||||
|
ENV CFLAGS="-g -O0 -fsanitize=address"
|
||||||
|
ENV CXXFLAGS="-g -O0 -fsanitize=address"
|
||||||
|
|
||||||
|
RUN apk add --no-cache make g++ && \
|
||||||
|
curl -sSLf https://github.com/danog/PrimeModule-ext/archive/refs/tags/2.0.tar.gz | tar -xz && \
|
||||||
|
cd PrimeModule-ext-2.0 && \
|
||||||
|
make -j$(nproc) && \
|
||||||
|
make install && \
|
||||||
|
cd .. && \
|
||||||
|
rm -r PrimeModule-ext-2.0 && \
|
||||||
|
apk del make g++
|
||||||
|
|
||||||
ENV LD_PRELOAD=libjemalloc.so.2
|
ENV LD_PRELOAD=libjemalloc.so.2
|
||||||
|
|
||||||
ADD ./tests/dockerfiles/php.ini /usr/local/etc/php/php.ini
|
ADD ./tests/dockerfiles/php.ini /usr/local/etc/php/php.ini
|
||||||
@ -284,6 +290,8 @@ ADD ./tests/jit.php /jit.php
|
|||||||
|
|
||||||
RUN php /jit.php && rm /jit.php
|
RUN php /jit.php && rm /jit.php
|
||||||
|
|
||||||
|
RUN apk add llvm
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
CMD ["php", "/app/bot.php"]
|
CMD ["php", "/app/bot.php"]
|
||||||
|
@ -3,7 +3,7 @@ memory_limit = -1
|
|||||||
display_errors = On
|
display_errors = On
|
||||||
display_startup_errors = On
|
display_startup_errors = On
|
||||||
|
|
||||||
ffi.enable=true
|
ffi.enable=0
|
||||||
|
|
||||||
;zend_extension=opcache
|
;zend_extension=opcache
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user