php-version-benchmarks
php-version-benchmarks copied to clipboard
The container does not build.
I figured out that I need to rename some .dist files in 3 folders, then it's just an error somewhere in a Dockerfile
gri@MSI:~/test/vendor/kocsismate/php-version-benchmarks$ ./benchmark.sh run local
Checking out source for PHP 8.3...
fatal: not a git repository (or any of the parent directories): .git
[+] Building 11.4s (7/12) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 5.52kB 0.0s
=> [internal] load metadata for docker.io/library/debian:bullseye 2.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 457B 0.0s
=> [1/8] FROM docker.io/library/debian:bullseye@sha256:152b9a5dc2a03f18ddfd88fbe7b1df41bd2b16be9f2df573a373caf46 6.5s
=> => resolve docker.io/library/debian:bullseye@sha256:152b9a5dc2a03f18ddfd88fbe7b1df41bd2b16be9f2df573a373caf46 0.0s
=> => sha256:fd320476a1f2921d0557e3e523db1ff2c1c61cf0d87bccd4ef2a69fb1dcd24f8 1.46kB / 1.46kB 0.0s
=> => sha256:014ac6453c34f79cc163f6567c184e5eb0b48cdc07ecbfb1388d90e95ac90b02 55.08MB / 55.08MB 5.0s
=> => sha256:152b9a5dc2a03f18ddfd88fbe7b1df41bd2b16be9f2df573a373caf46ce78c08 984B / 984B 0.0s
=> => sha256:a9f115e23865353139b9312d7596b5183e5c76b4b96830a739304e06e1ed2588 529B / 529B 0.0s
=> => extracting sha256:014ac6453c34f79cc163f6567c184e5eb0b48cdc07ecbfb1388d90e95ac90b02 1.3s
=> [internal] load build context 0.0s
=> => transferring context: 457B 0.0s
=> [2/8] RUN set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Prio 0.4s
=> ERROR [3/8] RUN set -eux; apt-get update; apt-get install -y --no-install-recommends autoconf 2.5s
------
> [3/8] RUN set -eux; apt-get update; apt-get install -y --no-install-recommends autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c bison valgrind-devel ca-certificates curl xz-utils time ; rm -rf /var/lib/apt/lists/*:
0.264 + apt-get update
0.376 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
0.398 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
0.422 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
0.447 Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8066 kB]
1.163 Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [296 kB]
1.195 Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
1.842 Fetched 8568 kB in 2s (5462 kB/s)
1.842 Reading package lists...
2.093 + apt-get install -y --no-install-recommends autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c bison valgrind-devel ca-certificates curl xz-utils time
2.098 Reading package lists...
2.357 Building dependency tree...
2.417 Reading state information...
2.459 E: Unable to locate package valgrind-devel
------
2 warnings found (use docker --debug to expand):
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 14)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 61)
Dockerfile:28
--------------------
27 | # persistent / runtime deps
28 | >>> RUN set -eux; \
29 | >>> apt-get update; \
30 | >>> apt-get install -y --no-install-recommends \
31 | >>> $PHPIZE_DEPS \
32 | >>> ca-certificates \
33 | >>> curl \
34 | >>> xz-utils \
35 | >>> time \
36 | >>> ; \
37 | >>> rm -rf /var/lib/apt/lists/*
38 |
--------------------
ERROR: failed to solve: process "/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils time ; rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100