Closed poyotamu000 closed 3 years ago
Hey @poyotamu000, glad to help here!
Please try the following instead:
cd craftassist
docker build -t craftassist -f ./docker/Dockerfile.client .
We recommend to use the script local_install.sh we provided for local docker installation. In that way local python
folder is mounted to docker container so that any local code changes can be reflected in a real-time manner.
@snyxan Follow the previous instruction, I got another error. Can you help me out? Thanks!
Step 15/20 : RUN make
---> Running in 64e1f8ae44b0
cd cuberite && \
mkdir -p Release && \
cd Release && \
cmake -DCMAKE_BUILD_TYPE=RELEASE .. && \
make -j`nproc`
CMake Error: The source directory "/craftassist/cuberite" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Makefile:15: recipe for target 'cuberite' failed
make: *** [cuberite] Error 1
The command '/bin/sh -c make' returned a non-zero code: 2
@snyxan Follow the previous instruction, I got another error. Can you help me out? Thanks!
Step 15/20 : RUN make ---> Running in 64e1f8ae44b0 cd cuberite && \ mkdir -p Release && \ cd Release && \ cmake -DCMAKE_BUILD_TYPE=RELEASE .. && \ make -j`nproc` CMake Error: The source directory "/craftassist/cuberite" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. Makefile:15: recipe for target 'cuberite' failed make: *** [cuberite] Error 1 The command '/bin/sh -c make' returned a non-zero code: 2
Hey @feipenghe ,
Are you using local_install.sh or not?
I couldn't repro your error easily on my end. Could you please share your environment settings? Thanks.
@snyxan
Initially, I installed docker myself and tried the first commands.
cd craftassist/docker
docker build -t craftassist -f Dockerfile.client .
I had the same error as @poyotamu000 . Then I used used local_install.sh And got the error as above.
Not sure it's the issue of previous docker installation.
Not sure it's the issue of previous docker installation.
@feipenghe It could be docker using a cached layer from previous failed installation. Try building without caching using the following command:
cd craftassist/docker
docker build --no-cache -t craftassist -f ./docker/Dockerfile.client .
Previous bug is because I didn't install the submodule. After that, I ran into a new issue.
-- Lua has NOT been found in your system, the build will use its own Lua implementation.
CMake Error at CMakeLists.txt:210 (message):
SQLiteCpp is missing in folder lib/SQLiteCpp. Have you initialized the
submodules / downloaded the extra libraries?
-- Configuring incomplete, errors occurred!
See also "/craftassist/cuberite/Release/CMakeFiles/CMakeOutput.log".
make: *** [cuberite] Error 1
Makefile:15: recipe for target 'cuberite' failed
The command '/bin/sh -c make' returned a non-zero code: 2
Unable to find image 'minecraft:latest' locally
docker: Error response from daemon: pull access denied for minecraft, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
I think I found the problem. There are still some submodules I haven't installed yet.
Thanks for confirming @feipenghe ! We'll now close the issue.
We'll also be sending out a headsup over email but we have now migrated the craftassist
codebase to be here: https://github.com/facebookresearch/droidlet and we will be maintaining this repo going forward. We ask that you please switch to the droidlet
repo going forward.
Please feel free to reopen the issue there if you see the issue again.
I did these commands, but errors occur. Please help me.