From 1656f0cd598f5ace3a63d712a7301f80e10ee8d2 Mon Sep 17 00:00:00 2001 From: Michal Hybner Date: Thu, 26 Dec 2024 13:48:42 +0100 Subject: [PATCH] tideways: strip only 1 component from path Previously tar was packaged with path like ./tideways-5.6.6/, but now it is tideways-php-5.16.2/. --- layers/tideways/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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