-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Cannot build shippingservice : failed to parse platform in step 1/16 #883
Comments
Hello @Vyankatesh5 👋🏽 , Which OS are you using? Could you try to build it running one of the following commands (depending on your OS architecture):
|
Hi @julianocosta89 |
Not sure if that would solve, but could you try with the newer version of The command should be executed like this:
|
Great new! Lets try to fix this other one.
|
you do not need to build everything when updating the |
Just to make sure after updating the |
yes, because the config files are added as a volume in the otel-col container: |
Thanks for the help @julianocosta89 . We can close this ticket. |
Bug Report
Release : v1.4.0
Symptom
While building the image using "sudo docker-compose up "
getting error
"Building shippingservice
Sending build context to Docker daemon 52.66MB
Step 1/16 : FROM --platform=${BUILDPLATFORM} rust:1.69 as builder
failed to parse platform : "" is an invalid component of "": platform specifier component must match "^[A-Za-z0-9_-]+$": invalid argument
ERROR: Service 'shippingservice' failed to build : Build failed
"
Reproduce
git clone https://github.com/open-telemetry/opentelemetry-demo.git
sudo docker-compose up
The text was updated successfully, but these errors were encountered: