Created
January 10, 2023 14:33
-
-
Save ziadoz/8644e6d4d3387646444ecb25aba5a7af to your computer and use it in GitHub Desktop.
Tideways PHP Extension on ARM64 Alpine Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:8.1-fpm-alpine | |
ARG TIDEWAYS_EXTENSION_VERSION=5.5.12 | |
ARG TIDEWAYS_PHP_VERSION=8.0 | |
ARG TIDEWAYS_PHP_EXTVER=20200930 | |
RUN wget "https://tideways.s3-eu-west-1.amazonaws.com/extension/${TIDEWAYS_EXTENSION_VERSION}/tideways-php-${TIDEWAYS_EXTENSION_VERSION}-alpine-arm64.tar.gz" && \ | |
tar xvzf tideways-php-${TIDEWAYS_EXTENSION_VERSION}-alpine-arm64.tar.gz && \ | |
cp ./build/dist/tideways-php-alpine-${TIDEWAYS_PHP_VERSION}.so /usr/local/lib/php/extensions/no-debug-non-zts-${TIDEWAYS_PHP_EXTVER}/tideways.so && \ | |
rm -rf tideways-php-${TIDEWAYS_EXTENSION_VERSION}-alpine-arm64.tar.gz ./build | |
COPY tideways.ini "$PHP_INI_DIR/conf.d/40-tideways.ini" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension=tideways | |
tideways.connection="tcp://tideways:9135" | |
tideways.api_key=xxxxxx | |
tideways.sample_rate=25 | |
tideways.service=app | |
tideways.log_level=3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment