diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..e73f110 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,10 @@ +image: + file: Dockerfile +ports: + - port: 8888 + visibility: public + onOpen: notify +workspaceLocation: xbasic +checkoutLocation: xbasic +tasks: + - init: conda activate base diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3637bca --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +FROM ubuntu:latest + +ARG DEBIAN_FRONTEND=noninteractive +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + git \ + wget \ + cmake \ + g++ \ + sudo \ +&& rm -rf /var/lib/apt/lists/* + +ENV PATH="/root/miniconda3/bin:${PATH}" +ARG PATH="/root/miniconda3/bin:${PATH}" +RUN wget \ + https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \ + && mkdir /root/.conda \ + && bash Miniconda3-latest-Linux-x86_64.sh -b \ + && rm -f Miniconda3-latest-Linux-x86_64.sh + +RUN conda install -c conda-forge jupyter xeus xtl nlohmann_json cppzmq -y