Skip to content

Commit

Permalink
tideways: strip only 1 component from path
Browse files Browse the repository at this point in the history
Previously tar was packaged with path like ./tideways-5.6.6/, but now it is tideways-php-5.16.2/.
  • Loading branch information
mu1f407 committed Dec 26, 2024
1 parent 7569054 commit 1656f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/tideways/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1656f0c

Please sign in to comment.