jabyengine/podman/Dockerfile

25 lines
857 B
Docker

FROM "ubuntu:24.04"
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
#RUN mkdir /app
#WORKDIR /app
#VOLUME my_vol (Do not use)
#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-- 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)