-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
53 lines (46 loc) · 1.64 KB
/
Dockerfile
File metadata and controls
53 lines (46 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
FROM jmake/mybinder:last AS notebook_setup
## Just here to be able to make modifications
FROM notebook_setup AS notebook_execute
RUN ls -la /home/jovyan/work/physx/install/linux/PhysX/bin/linux.clang/release/
RUN ls -la /home/jovyan/work/physx/install/linux/PxShared/include/foundation
ENV IPYNB_FILE="babylonjs.ipynb"
ENV NB_USER="jovyan"
USER root
WORKDIR /home/jovyan/work
COPY ${IPYNB_FILE} /home/jovyan/work
COPY Examples/ /home/jovyan/work/PhysX/
RUN ls -la /home/jovyan/work/PhysX/
RUN chown -R ${NB_USER} /home/jovyan/work
USER ${NB_USER}
RUN jupyter nbconvert --execute --clear-output ${IPYNB_FILE}
##
## SEE :
## jupyter/base-notebook @ https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html
##
#FROM jupyter/base-notebook:latest AS notebook_setup
#
####/var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)
#USER root
#RUN apt-get --yes -qq update
#RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
#RUN apt-get --yes -qq update
#
#RUN apt-get --yes -qq install build-essential
#RUN apt-get --yes -qq install cmake
##RUN apt-get --yes -qq install cmake-curses-gui ## ccmake
#RUN apt-get --yes -qq install clang-tools-9
#RUN apt-get --yes -qq install vim
#RUN apt-get --yes -qq install git
#FROM jmake/mybinder:1652646493 AS notebook_setup
#
#FROM notebook_setup AS notebook_execute
#ENV IPYNB_FILE="simplest.ipynb"
#ENV NB_USER="jovyan"
#USER root
#WORKDIR /home/jovyan/work
#COPY ${IPYNB_FILE} /home/jovyan/work
#RUN chown -R ${NB_USER} /home/jovyan/work
#USER ${NB_USER}
#RUN jupyter nbconvert --execute --clear-output ${IPYNB_FILE}
##
##FROM jmake/mybinder:1652615015 AS PHYSICS