You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
532 B
Docker

FROM debian:latest
MAINTAINER youainti@youainti.com
RUN apt update
RUN apt install -y vim
RUN apt install -y curl
#add user
RUN useradd julia
USER julia
WORKDIR /home/julia
#setup basic files
RUN touch .profile
RUN touch .bashrc
#install julia
RUN curl -fsSL https://install.julialang.org > juliaup_installer.sh
RUN sh juliaup_installer.sh -y
RUN rm juliaup_installer.sh
#install pluto
RUN ~/.juliaup/bin/julia -e 'using Pkg; Pkg.add("Pluto")'
#entrypoint
CMD ~/.juliaup/bin/julia -e 'using Pluto; Pluto.run(;host="0.0.0.0")'