Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Linux build single static binary failed #704

Open
sawirricardo opened this issue Apr 4, 2024 · 0 comments
Open

Running Linux build single static binary failed #704

sawirricardo opened this issue Apr 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sawirricardo
Copy link

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 sawirricardo added the bug Something isn't working label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant