KEINOS / Dockerfile_of_PHP8-JIT

✅ Dockerfile of PHP8.0 with JIT Enabled in Alpine Image.
https://arkadiuszkondas.com/how-to-run-php-8-with-jit-support-using-docker/
9 stars 4 forks source link

Sockets extension is missing in ":latest" but exists in ":x86_64" #11

Closed KEINOS closed 4 years ago

KEINOS commented 4 years ago
$ docker run --rm keinos/php8-jit:latest php -m | grep sockets
$ docker run --rm keinos/php8-jit:x86_64 php -m | grep sockets
sockets

$ docker version
Client: Docker Engine - Community
 Version:           19.03.8
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        afacb8b
 Built:             Wed Mar 11 01:21:11 2020
 OS/Arch:           darwin/amd64
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          19.03.8
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       afacb8b
  Built:            Wed Mar 11 01:29:16 2020
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          v1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

$ docker image inspect keinos/php8-jit:latest | jq .[].Architecture
"amd64"
$ docker image inspect keinos/php8-jit:x86_64 | jq .[].Architecture
"amd64"
KEINOS commented 4 years ago

There are no sockets loaded officially. We need to fix this.

https://github.com/KEINOS/Dockerfile_of_PHP8-JIT/blob/0de36c7dc1eac2949f6a4798fa36d072cede86a3/info-get_loaded_extensions.txt#L1-L37

KEINOS commented 4 years ago

Fixed.

$ docker run --rm keinos/php8-jit:latest php -m | grep sockets
sockets
$ docker run --rm keinos/php8-jit:amd64 php -m | grep sockets
sockets

Closing