sglahn / docker-platformio-core

PlatformIO Command Line Interface in a Docker Container. Tags:
https://hub.docker.com/r/sglahn/platformio-core/tags
Apache License 2.0
45 stars 27 forks source link

Starting container process caused "exec: \"run\": executable file not found in $PATH": unknown #5

Closed ceoloide closed 4 years ago

ceoloide commented 4 years ago

Build is failing with following log trace on Google Cloud Build:

`starting build "53f8cb3d-f563-4282-9835-1e4ff6252e50"

FETCHSOURCE Fetching storage object: gs://283184253836.cloudbuild-source.googleusercontent.com/53ba01f6538f4db696b690267ad5a120183ccc42-c49dcb35-3b06-4471-a884-0cda03129e0d.tar.gz#1587504499224766 Copying gs://283184253836.cloudbuild-source.googleusercontent.com/53ba01f6538f4db696b690267ad5a120183ccc42-c49dcb35-3b06-4471-a884-0cda03129e0d.tar.gz#1587504499224766... / [0 files][ 0.0 B/ 16.6 KiB]
/ [1 files][ 16.6 KiB/ 16.6 KiB]
Operation completed over 1 objects/16.6 KiB.
BUILD Pulling image: suculent/platformio-docker-build Using default tag: latest latest: Pulling from suculent/platformio-docker-build 5c939e3a4d10: Pulling fs layer c63719cdbe7a: Pulling fs layer 19a861ea6baf: Pulling fs layer 651c9d2d6c4f: Pulling fs layer b8e85d883965: Pulling fs layer 2a3b49518b22: Pulling fs layer ee957231bf6f: Pulling fs layer 7883c36e2625: Pulling fs layer 0dcbc502eb46: Pulling fs layer 73a6a19e6440: Pulling fs layer 3d90fc94577c: Pulling fs layer 9ce58429fae4: Pulling fs layer 7f989c9854c7: Pulling fs layer f9a1bee28fd3: Pulling fs layer 166f52c65652: Pulling fs layer 5c9761f737e6: Pulling fs layer 70be2be8741e: Pulling fs layer 651c9d2d6c4f: Waiting b8e85d883965: Waiting 2a3b49518b22: Waiting ee957231bf6f: Waiting 7883c36e2625: Waiting 0dcbc502eb46: Waiting 73a6a19e6440: Waiting 3d90fc94577c: Waiting 9ce58429fae4: Waiting 7f989c9854c7: Waiting f9a1bee28fd3: Waiting 166f52c65652: Waiting 5c9761f737e6: Waiting 70be2be8741e: Waiting c63719cdbe7a: Verifying Checksum c63719cdbe7a: Download complete 19a861ea6baf: Verifying Checksum 19a861ea6baf: Download complete 5c939e3a4d10: Verifying Checksum 5c939e3a4d10: Download complete 651c9d2d6c4f: Verifying Checksum 651c9d2d6c4f: Download complete b8e85d883965: Verifying Checksum b8e85d883965: Download complete 2a3b49518b22: Verifying Checksum 2a3b49518b22: Download complete ee957231bf6f: Verifying Checksum ee957231bf6f: Download complete 7883c36e2625: Verifying Checksum 7883c36e2625: Download complete 0dcbc502eb46: Verifying Checksum 0dcbc502eb46: Download complete 3d90fc94577c: Verifying Checksum 3d90fc94577c: Download complete 5c939e3a4d10: Pull complete c63719cdbe7a: Pull complete 19a861ea6baf: Pull complete 651c9d2d6c4f: Pull complete b8e85d883965: Pull complete 2a3b49518b22: Pull complete ee957231bf6f: Pull complete 7883c36e2625: Pull complete 0dcbc502eb46: Pull complete 9ce58429fae4: Download complete 73a6a19e6440: Verifying Checksum 73a6a19e6440: Download complete f9a1bee28fd3: Verifying Checksum f9a1bee28fd3: Download complete 5c9761f737e6: Verifying Checksum 5c9761f737e6: Download complete 166f52c65652: Verifying Checksum 166f52c65652: Download complete 70be2be8741e: Verifying Checksum 70be2be8741e: Download complete 7f989c9854c7: Verifying Checksum 7f989c9854c7: Download complete 73a6a19e6440: Pull complete 3d90fc94577c: Pull complete 9ce58429fae4: Pull complete 7f989c9854c7: Pull complete f9a1bee28fd3: Pull complete 166f52c65652: Pull complete 5c9761f737e6: Pull complete 70be2be8741e: Pull complete Digest: sha256:e0cb55f5445b08fb7be1252dc51596e838da4371559c5a12e28f3196e3f2257c Status: Downloaded newer image for suculent/platformio-docker-build:latest docker.io/suculent/platformio-docker-build:latest ERROR ERROR: build step 0 "suculent/platformio-docker-build" failed: starting step container failed: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"run\": executable file not found in $PATH": unknown`

ceoloide commented 4 years ago

The solution is to avoid using the latest version and instead specify 3.6.0 manually.