Closed SystemKeeper closed 1 year ago
Describe the bug
Version
v1
v2
Runners
Operating systems
Ubuntu 22.04 on selfhosted host, using shivammathur/node:latest-i386 as container
shivammathur/node:latest-i386
PHP versions
8.0
To Reproduce
name: Test 32bit on: pull_request: jobs: phpunit-32bits: runs-on: ubuntu-22.04 container: shivammathur/node:latest-i386 strategy: matrix: php-versions: ['8.0'] steps: - name: Set up php ${{ matrix.php-versions }} uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} extensions: gd tools: phpunit:9 coverage: none ini-values: apc.enabled=on, apc.enable_cli=on
results in
==> Setup Extensions grep: /etc/apt/sources.list: No such file or directory ā gd Could not install gd on PHP 8.0.29
Expected behavior
Works š
Screenshots/Logs
Additional context
Running apt install php8.0-gd inside the container works. The file /etc/apt/sources.list is indeed missing.
apt install php8.0-gd
/etc/apt/sources.list
Are you willing to submit a PR?
Fixed by https://github.com/shivammathur/setup-php/commit/9c77701ae57b0c47f6732beebfbdec76e4e5c90a already, sorry for the noise :-)
Describe the bug
Version
v1
orv2
.v2
v1
Runners
Operating systems
Ubuntu 22.04 on selfhosted host, using
shivammathur/node:latest-i386
as containerPHP versions
8.0
To Reproduce
results in
Expected behavior
Works š
Screenshots/Logs
Additional context
Running
apt install php8.0-gd
inside the container works. The file/etc/apt/sources.list
is indeed missing.Are you willing to submit a PR?