zakariamaaraki / RemoteCodeCompiler

An online code compiler supporting 11 programming languages (Java, Kotlin, Scala, C, C++, C#, Golang, Python, Ruby, Rust and Haskell) for competitive programming and coding interviews.
GNU General Public License v3.0
151 stars 50 forks source link

Error with building the necessary docker images #43

Closed Shahman-01 closed 1 year ago

Shahman-01 commented 1 year ago

When starting docker according to the instructions and executing the command: ./environment/build.sh gives an error: unable to prepare context: path "dockerfiles" not found !!! Error while building compilation images !!! Although judging by the file build.sh everything should work out as it should. I didn't change anything in the code. What could be the problem?

Starlexxx commented 1 year ago

Have you found a solution?

Starlexxx commented 1 year ago

I don't know, what was your problem, but I've solved this issue by runing build.sh via sh build.sh in environment directory instead of root dir.

Shahman-01 commented 1 year ago

Hello, yes, in the file buld.sh i added to the path environment i replaced

docker image build -f "dockerfiles/Dockerfile.${compilationDockerfilesPaths[$language]}.compilation" -t "compiler.$language" "dockerfiles" to

docker image build -f "environment/dockerfiles/Dockerfile.${compilationDockerfilesPaths[$language]}.compilation" -t "compiler.$language" "environment/dockerfiles"

вт, 18 апр. 2023 г. в 16:38, Andrew @.***>:

I don't know, what was your problem, but I've solved this issue by runing build.sh via sh build.sh instead of ./build.sh

— Reply to this email directly, view it on GitHub https://github.com/zakariamaaraki/RemoteCodeCompiler/issues/43#issuecomment-1513176289, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMMAEJAHN57FSMSBBUSCJVDXB2KMNANCNFSM6AAAAAAW5FLZEA . You are receiving this because you modified the open/close state.Message ID: @.***>