Update Dockerfile to be less painful; Set JABY_ENGINE_PATH automatically
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
FROM "ubuntu:24.04"
|
||||
ADD ["scripts/install_pop-fe.sh", "scripts/install_rust.sh", "scripts/make_gcc.sh", "scripts/prerequisites.sh", "/usr/scripts"]
|
||||
RUN apt update && cd /usr/scripts && ./prerequisites.sh && ./install_rust.sh && cd /usr && ./scripts/make_gcc.sh
|
||||
WORKDIR /usr
|
||||
ADD ["scripts/make_gcc.sh", "/usr/scripts"]
|
||||
RUN apt update && /usr/scripts/make_gcc.sh
|
||||
|
||||
WORKDIR /usr/scripts
|
||||
ADD ["scripts/install_rust.sh", "/usr/scripts"]
|
||||
RUN apt update && ./install_rust.sh
|
||||
|
||||
# TODO: Deal with this eventually
|
||||
ADD ["scripts/install_pop-fe.sh", "/usr/scripts"]
|
||||
|
||||
#WORKDIR /usr/src/project
|
||||
|
||||
#RUN apt update && apt install -y nginx
|
||||
|
||||
@@ -13,4 +21,5 @@ RUN apt update && cd /usr/scripts && ./prerequisites.sh && ./install_rust.sh &&
|
||||
|
||||
#ADD install_pop-fe.sh install_pop-fe.sh
|
||||
#CMD ["cp", "install_pop-fe.sh", "/my_vol"]
|
||||
# TODO: Make a script that builds the image and then registers alias like `jaby-make` for the docker command
|
||||
|
||||
# TODO: Make a script that builds the image and --then registers alias like `jaby-make` for the docker command-- Cody said alias are bad (yesterday he liked them) and wants scripts instead (He also suddenly claims that he called them invasive but ACTUALLY it was me. Oh noooow he corrects his statement)
|
Reference in New Issue
Block a user