mirror of
https://github.com/chialab/docker-php.git
synced 2026-08-24 02:24:16 -05:00
fix otel version for PHP 8.0
This commit is contained in:
+5
-2
@@ -2,5 +2,8 @@ ARG BASE_IMAGE=chialab/php:latest
|
||||
FROM ${BASE_IMAGE}
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install OpenTelemetry.
|
||||
RUN install-php-extensions protobuf opentelemetry-php/ext-opentelemetry@1.3.1
|
||||
RUN if [ "$(echo "$PHP_VERSION" | cut -d. -f1,2)" = "8.0" ]; then \
|
||||
install-php-extensions protobuf opentelemetry-php/ext-opentelemetry@1.1.3; \
|
||||
else \
|
||||
install-php-extensions protobuf opentelemetry-php/ext-opentelemetry@1.3.1; \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user