-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I want to try out static build but quickly noticed that they are not working in this repository.
$ git clone [email protected]:dunglas/frankenphp-demo.git
$ cd frankenphp-demo
$ docker build -t static-app -f static-build.Dockerfile .
------
1 warning found (use docker --debug to expand):
- FromPlatformFlagConstDisallowed: FROM --platform flag should not use constant value "linux/amd64" (line 1)
static-build.Dockerfile:13
--------------------
12 | WORKDIR /go/src/app/
13 | >>> RUN EMBED=dist/app/ \
14 | >>> ./build-static.sh
15 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/ash -eo pipefail -c EMBED=dist/app/ ./build-static.sh" did not complete successfully: exit code: 2
Metadata
Metadata
Assignees
Labels
No labels