Repository navigation
Problem making a static build in Docker #2753
Replies: 1 comment
|
This does not look like a normal bind-mount mistake. The command matches the documented static build command, and the builder image copies the repository to
docker image inspect dunglas/frankenphp:static-builder-musl \
--format "{{index .Config.Labels \"org.opencontainers.image.revision\"}} {{index .Config.Labels \"org.opencontainers.image.version\"}}"
docker run --rm --entrypoint /bin/bash \
dunglas/frankenphp:static-builder-musl \
-lc "ls -l /go/src/app/go.mod /go/src/app/caddy/go.mod"There is another clue: the log reports PHP 8.4.27, while the v1.13.2 docker buildx bake --pull --no-cache --load static-builder-muslThe build script also downloads an unpinned nightly static-php-cli binary, so if both |
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I'm trying to use the instructions here: https://frankenphp.dev/docs/static/ to build a standalone FrakenPHP binary.
Build environment is openSUSE 15.5 with Docker 28.5.0.
Here's what I did:
This is the script I'm running to do the build:
It all seems to go ok until the (presumably) last stage:
Looking in output/log/spc.shell.log shows this near the end:
This is probably a silly mistake I've made due to being totally unfamiliar with Docker, can any one advise please?
Many thanks.
All reactions