diff --git a/layers/tideways/Dockerfile b/layers/tideways/Dockerfile index 4ac6f73f..c169ceff 100644 --- a/layers/tideways/Dockerfile +++ b/layers/tideways/Dockerfile @@ -11,7 +11,7 @@ RUN <<'END' bash -e mkdir -p /tmp/tideways cd /tmp/tideways export version=$(php -r "echo PHP_MAJOR_VERSION.'.'.PHP_MINOR_VERSION;") - curl -sSL "https://s3-eu-west-1.amazonaws.com/tideways/extension/${TIDEWAYS_VERSION}/tideways-php-${TIDEWAYS_VERSION}-x86_64.tar.gz" | tar -xz --strip-components=2 -C /tmp/tideways + curl -sSL "https://s3-eu-west-1.amazonaws.com/tideways/extension/${TIDEWAYS_VERSION}/tideways-php-${TIDEWAYS_VERSION}-x86_64.tar.gz" | tar -xz --strip-components=1 -C /tmp/tideways cp /tmp/tideways/tideways-php-${version}.so /tmp/tideways.so echo 'extension=tideways.so' > /tmp/ext-tideways.ini END