Skip to content

Instantly share code, notes, and snippets.

@johanmcos
Last active August 12, 2020 16:01
Show Gist options
  • Save johanmcos/b0ca02e4575a166ff671f42eb46c69b5 to your computer and use it in GitHub Desktop.
Save johanmcos/b0ca02e4575a166ff671f42eb46c69b5 to your computer and use it in GitHub Desktop.

Revisions

  1. johanmcos revised this gist Aug 12, 2020. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -15,12 +15,15 @@
    # You should have received a copy of the GNU Affero General Public License
    # along with this program. If not, see <https://www.gnu.org/licenses/>.

    FROM jupyter/scipy-notebook
    ## AUTHOR: Johan M. Cos
    ## License: AGPLv3

    FROM jupyter/scipy-notebook:9b87b1625445

    RUN pip install --user --no-cache trimesh

    RUN wget https://github.com/mikedh/trimesh/archive/3.7.14.tar.gz \
    && echo '820f80bf4ca97ea098cd2ba2c457e0e4de4817ddf407951bf7e7b926544a0eca 3.7.14.tar.gz' | sha256sum -c - \
    && tar -xf 3.7.14.tar.gz \
    && cp -r trimesh-3.7.14/examples ./ \
    && rm -r trimesh-3.7.14
    && rm -r trimesh-3.7.14 3.7.14.tar.gz
  2. johanmcos revised this gist Aug 12, 2020. 1 changed file with 16 additions and 2 deletions.
    18 changes: 16 additions & 2 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,19 @@
    ## AUTHOR: Johan M. Cos
    ## License: AGPLv3
    ###
    # Trimesh-Notebook, Jupyter notebook pre-installed with Trimesh and bundled with their example files.
    # Copyright (C) 2020 Johan M. Cos
    #
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU Affero General Public License as
    # published by the Free Software Foundation, either version 3 of the
    # License, or (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU Affero General Public License for more details.
    #
    # You should have received a copy of the GNU Affero General Public License
    # along with this program. If not, see <https://www.gnu.org/licenses/>.

    FROM jupyter/scipy-notebook

  3. johanmcos created this gist Aug 12, 2020.
    12 changes: 12 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    ## AUTHOR: Johan M. Cos
    ## License: AGPLv3

    FROM jupyter/scipy-notebook

    RUN pip install --user --no-cache trimesh

    RUN wget https://github.com/mikedh/trimesh/archive/3.7.14.tar.gz \
    && echo '820f80bf4ca97ea098cd2ba2c457e0e4de4817ddf407951bf7e7b926544a0eca 3.7.14.tar.gz' | sha256sum -c - \
    && tar -xf 3.7.14.tar.gz \
    && cp -r trimesh-3.7.14/examples ./ \
    && rm -r trimesh-3.7.14