You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ php-alpine git:(master) ✗ ./build.sh
/usr/bin/env: ‘bash\r’: No such file or directory
➜ php-alpine git:(master) ✗ docker-compose build sandbox
WARN[0000] The "DOCKER_PLATFORM" variable is not set. Defaulting to a blank string.
WARN[0000] The "DOCKER_PLATFORM" variable is not set. Defaulting to a blank string.
WARN[0000] The "DOCKER_PLATFORM" variable is not set. Defaulting to a blank string.
WARN[0000] The "DOCKER_PLATFORM" variable is not set. Defaulting to a blank string.
[+] Building 0.1s (2/2) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to parse platform : "" is an invalid component of "": platform specifier component must match "^[A-Za-z0-9_-]+$": invalid argument
The text was updated successfully, but these errors were encountered:
seems documentation is few commits behind. you should be able to fix this by setting an env var DOCKER_PLATFORM to whatever platform you want to build on. this might either be linux/amd64 or linux/arm64.
e.g. $ DOCKER_PLATFORM="linux/amd64" docker-compose build sandbox
is this still active?
i can not build my self
➜ php-alpine git:(master) ✗ ./build.sh
/usr/bin/env: ‘bash\r’: No such file or directory
➜ php-alpine git:(master) ✗ docker-compose build sandbox
WARN[0000] The "DOCKER_PLATFORM" variable is not set. Defaulting to a blank string.
WARN[0000] The "DOCKER_PLATFORM" variable is not set. Defaulting to a blank string.
WARN[0000] The "DOCKER_PLATFORM" variable is not set. Defaulting to a blank string.
WARN[0000] The "DOCKER_PLATFORM" variable is not set. Defaulting to a blank string.
[+] Building 0.1s (2/2) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to parse platform : "" is an invalid component of "": platform specifier component must match "^[A-Za-z0-9_-]+$": invalid argument
The text was updated successfully, but these errors were encountered: