Skip to content

Commit

Permalink
fix: downgrade xdebug
Browse files Browse the repository at this point in the history
  • Loading branch information
akiyashkin-ronasit committed Jul 4, 2024
1 parent cdbe715 commit e1b5686
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ RUN apk add --no-cache \
freetype \
ttf-droid \
ttf-freefont \
ttf-liberation
ttf-liberation \
autoconf \
g++ \
make \
linux-headers

ARG TARGETARCH
COPY --from=wkhtmltopdf /bin/wkhtmltopdf /app/vendor/h4cc/wkhtmltopdf-${TARGETARCH}/bin/wkhtmltopdf-${TARGETARCH}
Expand All @@ -25,4 +29,11 @@ COPY --from=wkhtmltopdf /bin/wkhtmltoimage /bin/wkhtmltoimage

RUN chmod +x /app/vendor/h4cc/wkhtmltopdf-${TARGETARCH}/bin/wkhtmltopdf-${TARGETARCH}
RUN chmod +x /bin/wkhtmltopdf
RUN chmod +x /bin/wkhtmltoimage
RUN chmod +x /bin/wkhtmltoimage

RUN pecl uninstall xdebug \
&& rm -rf /usr/local/lib/php/extensions/no-debug-non-zts-*/xdebug.so \
&& rm -rf /usr/local/lib/php/extensions/no-debug-non-zts-*/xdebug.so.debug

RUN pecl install xdebug-3.2.2 \
&& docker-php-ext-enable xdebug

0 comments on commit e1b5686

Please sign in to comment.