Skip to content

Commit 1656f0c

Browse files
committed
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/.
1 parent 7569054 commit 1656f0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layers/tideways/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN <<'END' bash -e
1111
mkdir -p /tmp/tideways
1212
cd /tmp/tideways
1313
export version=$(php -r "echo PHP_MAJOR_VERSION.'.'.PHP_MINOR_VERSION;")
14-
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
14+
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
1515
cp /tmp/tideways/tideways-php-${version}.so /tmp/tideways.so
1616
echo 'extension=tideways.so' > /tmp/ext-tideways.ini
1717
END

0 commit comments

Comments
 (0)