scaleph
scaleph copied to clipboard
[Bug] [scaleph-api] docker image build error
Already searched before asking?
- [X] I had searched in the issues and found no similar issues.
Scaleph Version or Branch
dev
What happened
Hello!
Docker image build error in local environment.
The local is originally jdk1.8, but it still cannot run after upgrading to jdk11
Error Exception
Deploying 'maven3.8-eclipse-temurin-11_build Dockerfile: tools/docker/build/scaleph-api/Dockerfile'…
命令: /usr/local/bin/docker build --target build -f tools/docker/build/scaleph-a/Dockerfile -t maven3.8-eclipse-temurin-11_build tools/docker/build/scaleph-api
[+] Building 76.4s (3/3) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> ERROR [internal] load metadata for docker.io/library/maven:3.8-eclipse-temurin-11 76.2s
------
> [internal] load metadata for docker.io/library/maven:3.8-eclipse-temurin-11:
------
failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status code [manifests 3.8-eclipse-temurin-11]: 403 Forbidden
Failed to deploy 'maven3.8-eclipse-temurin-11_build Dockerfile: tools/docker/build/scaleph-api/Dockerfile': 镜像构建失败,退出代码为 1。
Screenshots
Are you willing to submit PR?
- [ ] Yes, I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
I had tested locally and checked github actions, which all works well.

403 status code indicates that local docker environment appears exception possibly and often restart machine is an efficient solution.