W-Mai / my-compiler-explorer-docker

0 stars 0 forks source link

Docker Build Error #1

Open sanyaade-teachings opened 2 days ago

sanyaade-teachings commented 2 days ago

Hi Everyone, I am having a build error on file not found. get_compiler.sh file not found. Please see below: image

Please help!

Hear from you soon.

God blesses!!!

Regards

sanyaade-teachings commented 2 days ago

Hi There, I think I found the solution to the above problem. The below docker directives worked and manged to build the image: See the correct file below:

FROM node:latest

RUN git clone https://github.com/compiler-explorer/infra.git WORKDIR /infra RUN make ce RUN ./bin/ce_install --enable nightly install compilers

WORKDIR / RUN git clone https://github.com/compiler-explorer/tools.git

WORKDIR /tools

RUN ./get_compilers.sh

WORKDIR / RUN git clone https://github.com/compiler-explorer/compiler-explorer.git

WORKDIR /compiler-explorer

RUN make info RUN make prebuild

EXPOSE 10240

CMD make dev

Hope this help others

God blesses!!!

Regards