Open liusy58 opened 3 years ago
Step 1/11 : FROM scala
fails because this is an image built by openwhisk, it doesn't exist on dockerhub. The command you want to run standalone is:
gradlew core:standalone:bootRun
If you use bin/wskdev
it's bin/wskdev standalone
(you can add -n
for a dry run).
thx
But in fact I built successfully about 20 days ago? Interesting...
When I installed using the CouchDB procedure, I saw this in the logs:
Executing 'docker build -f /opt/openwhisk/common/scala/Dockerfile -t scala /opt/openwhisk/common/scala'
I think this might be the Dockerfile: github.com/apache/openwhisk/common/scala/Dockerfile
I'm also having the same problem
base image scala
is already built
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
scala latest 3c21b5fa5a55 16 minutes ago 359MB
whisk/scala latest 3c21b5fa5a55 16 minutes ago 359MB
When building in sub-projects such as controller, invoker.., it tries to pull the image from remote docker hub.
#3 [internal] load metadata for docker.io/library/scala:latest
#3 sha256:519bc75d5b2c1249ddd98847fd40e9a311d81ab2f90550bf7630aa00e29a9983
#3 ERROR: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
------
I found the reason why the build is failing.
Disable buildkit to use a local base image and restart docker daemon:
"features": {
"buildkit": false
}
In my environment the build was successful.
---> Running in 25572aec8811
Removing intermediate container 25572aec8811
---> 73ed17e417f1
Successfully built 73ed17e417f1
Hi,sir , after I entered the command
./gradlew :core:standalone:distDocker
, I got the following error output:Could you please tell me how to solve it?