Skip to content

Commit

Permalink
Pin opentelemetry version, tidy PR
Browse files Browse the repository at this point in the history
  • Loading branch information
iokiwi committed Nov 20, 2023
1 parent 621e4b1 commit 0cf5dfe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions layers/opentelemetry/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# https://github.com/brefphp/extra-php-extensions/blob/master/layers/yaml/Dockerfile

ARG PHP_VERSION
ARG BREF_VERSION
FROM bref/build-php-$PHP_VERSION:$BREF_VERSION AS ext

RUN MAKEFLAGS="-j $(nproc)" && pecl install opentelemetry > /dev/null
RUN MAKEFLAGS="-j $(nproc)" && pecl install opentelemetry-1.0.0 > /dev/null
RUN cp `php-config --extension-dir`/opentelemetry.so /tmp/opentelemetry.so
RUN strip --strip-debug /tmp/opentelemetry.so
RUN echo 'extension=opentelemetry.so' > /tmp/ext.ini
Expand Down

0 comments on commit 0cf5dfe

Please sign in to comment.