frankenphp icon indicating copy to clipboard operation
frankenphp copied to clipboard

Running Linux build single static binary failed

Open sawirricardo opened this issue 1 year ago • 0 comments

What happened?

Runing the command from https://frankenphp.dev/docs/static/#linux

docker buildx bake --load static-builder
docker cp $(docker create --name static-builder dunglas/frankenphp:static-builder):/go/src/app/dist/frankenphp-linux-$(uname -m) frankenphp ; docker rm static-builder

Results in

[+] Building 0.0s (1/1) FINISHED                                                                                           docker:desktop-linux
 => [internal] load local bake definitions                                                                                                 0.0s
ERROR: couldn't find a bake definition
Unable to find image 'dunglas/frankenphp:static-builder' locally
static-builder: Pulling from dunglas/frankenphp
bca4290a9639: Pulling fs layer 
85a894a23877: Pulling fs layer 
f87e01ead4d2: Pull complete 
429b4852be7b: Pull complete 
4f4fb700ef54: Pull complete 
74f657b9209f: Pull complete 
8bb93f45518f: Pull complete 
2a063f4c4540: Pull complete 
01a0e506a80f: Pull complete 
b09f5580e1ca: Pull complete 
2a402c2252ad: Pull complete 
857967ce8ea6: Pull complete 
f499b9fec8c2: Pull complete 
5e5854ed1f9d: Pull complete 
9b79f7826c5a: Pull complete 
4049fe9443d4: Pull complete 
Digest: sha256:5ab84b5c9cf6d8e6bf8e4abd711d57375f816a5ed35d6c557c7de2be0e877a24
Status: Downloaded newer image for dunglas/frankenphp:static-builder
Error response from daemon: Could not find the file /go/src/app/dist/frankenphp-linux-arm64 in container 46adeab689f9abd2b1e40c895955d52f8d72485379c4b34dfc84a7b393151105
static-builder

Build Type

Docker (Debian Bookworm)

Worker Mode

No

Operating System

GNU/Linux

CPU Architecture

Apple Silicon

PHP configuration

none

Relevant log output

[+] Building 0.0s (1/1) FINISHED                                                                                           docker:desktop-linux
 => [internal] load local bake definitions                                                                                                 0.0s
ERROR: couldn't find a bake definition
Unable to find image 'dunglas/frankenphp:static-builder' locally
static-builder: Pulling from dunglas/frankenphp
bca4290a9639: Pulling fs layer 
85a894a23877: Pulling fs layer 
f87e01ead4d2: Pull complete 
429b4852be7b: Pull complete 
4f4fb700ef54: Pull complete 
74f657b9209f: Pull complete 
8bb93f45518f: Pull complete 
2a063f4c4540: Pull complete 
01a0e506a80f: Pull complete 
b09f5580e1ca: Pull complete 
2a402c2252ad: Pull complete 
857967ce8ea6: Pull complete 
f499b9fec8c2: Pull complete 
5e5854ed1f9d: Pull complete 
9b79f7826c5a: Pull complete 
4049fe9443d4: Pull complete 
Digest: sha256:5ab84b5c9cf6d8e6bf8e4abd711d57375f816a5ed35d6c557c7de2be0e877a24
Status: Downloaded newer image for dunglas/frankenphp:static-builder
Error response from daemon: Could not find the file /go/src/app/dist/frankenphp-linux-arm64 in container 46adeab689f9abd2b1e40c895955d52f8d72485379c4b34dfc84a7b393151105
static-builder

sawirricardo avatar Apr 04 '24 02:04 sawirricardo