From 5f7ddbf193b2ad162b4b1741f5f9c8cccb2805c4 Mon Sep 17 00:00:00 2001 From: Andrew Odewahn Date: Thu, 8 Dec 2016 07:14:15 -0500 Subject: [PATCH 1/9] adding dockerfile --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..8664d08b1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM jupyter/scipy-notebook:latest + +# launchbot-specific labels +LABEL name.launchbot.io="Python Data Science Handbook" +LABEL workdir.launchbot.io="/usr/workdir" +LABEL description.launchbot.io="Python Data Science Handbook by Jake VanderPlas." +LABEL 8888.port.launchbot.io="Jupyter Notebook" + +# Set the working directory +WORKDIR /usr/workdir + +# Expose the notebook port +EXPOSE 8888 + +# Start the notebook server +CMD jupyter notebook --no-browser --port 8888 --ip=* From 78d3c9943704fbb55fed92cf2a2020e52af60e80 Mon Sep 17 00:00:00 2001 From: Andrew Odewhan Date: Mon, 23 Jan 2017 09:49:41 -0500 Subject: [PATCH 2/9] updated base image --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8664d08b1..7bc78452b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM jupyter/scipy-notebook:latest +FROM jupyter/scipy-notebook:6399d2faf16f # launchbot-specific labels LABEL name.launchbot.io="Python Data Science Handbook" From c29ea9a1ab9a657106bef8f680ed6b2f9fb821a4 Mon Sep 17 00:00:00 2001 From: Andrew Odewhan Date: Wed, 1 Feb 2017 14:22:40 -0500 Subject: [PATCH 3/9] this is a change --- notebooks/01.07-Timing-and-Profiling.ipynb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/notebooks/01.07-Timing-and-Profiling.ipynb b/notebooks/01.07-Timing-and-Profiling.ipynb index 2a65b75a6..cc5931207 100644 --- a/notebooks/01.07-Timing-and-Profiling.ipynb +++ b/notebooks/01.07-Timing-and-Profiling.ipynb @@ -54,7 +54,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "metadata": { "collapsed": false }, @@ -63,12 +63,13 @@ "name": "stdout", "output_type": "stream", "text": [ - "100000 loops, best of 3: 1.54 µs per loop\n" + "The slowest run took 10.08 times longer than the fastest. This could mean that an intermediate result is being cached.\n", + "1000000 loops, best of 3: 1.15 µs per loop\n" ] } ], "source": [ - "%timeit sum(range(100))" + "%timeit sum(range(50))" ] }, { @@ -81,7 +82,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 3, "metadata": { "collapsed": false }, @@ -90,7 +91,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "1 loops, best of 3: 407 ms per loop\n" + "1 loop, best of 3: 484 ms per loop\n" ] } ], @@ -558,7 +559,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.1" + "version": "3.5.2" } }, "nbformat": 4, From 5af3b3adfdfa00d6b32c3918018c5117d94371a3 Mon Sep 17 00:00:00 2001 From: Andrew Odewhan Date: Mon, 20 Feb 2017 17:29:54 -0500 Subject: [PATCH 4/9] here's a change --- Dockerfile | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7bc78452b..9af6c819a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,4 @@ -FROM jupyter/scipy-notebook:6399d2faf16f - -# launchbot-specific labels -LABEL name.launchbot.io="Python Data Science Handbook" -LABEL workdir.launchbot.io="/usr/workdir" -LABEL description.launchbot.io="Python Data Science Handbook by Jake VanderPlas." -LABEL 8888.port.launchbot.io="Jupyter Notebook" - -# Set the working directory +FROM jupyter/scipy-notebook:latest WORKDIR /usr/workdir - -# Expose the notebook port EXPOSE 8888 - -# Start the notebook server CMD jupyter notebook --no-browser --port 8888 --ip=* From 32f49424821825c117afb8d9c8f219e19eaf5a05 Mon Sep 17 00:00:00 2001 From: Andrew Odewhan Date: Mon, 20 Feb 2017 17:31:41 -0500 Subject: [PATCH 5/9] here's something --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 9af6c819a..fa28fe768 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ +# a note! FROM jupyter/scipy-notebook:latest WORKDIR /usr/workdir EXPOSE 8888 From c00dee421a36d0b7c0c5aceac2b3885518b848c2 Mon Sep 17 00:00:00 2001 From: Franklin Roosevelt Date: Mon, 20 Feb 2017 17:40:40 -0500 Subject: [PATCH 6/9] should be from FDR --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fa28fe768..98c939e53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# a note! +# a note from FDR FROM jupyter/scipy-notebook:latest WORKDIR /usr/workdir EXPOSE 8888 From 65a885816919b5a220b477f3d824dbe2722e47b4 Mon Sep 17 00:00:00 2001 From: Andrew Odewahn Date: Mon, 20 Feb 2017 18:01:50 -0500 Subject: [PATCH 7/9] now from ANO, not FDR --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 98c939e53..af8851520 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# a note from FDR +# a note from ANO FROM jupyter/scipy-notebook:latest WORKDIR /usr/workdir EXPOSE 8888 From 3e6671fec8061b585af4cabff423465f67860089 Mon Sep 17 00:00:00 2001 From: Andrew Odewahn Date: Fri, 24 Feb 2017 11:01:18 -0500 Subject: [PATCH 8/9] updated dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index af8851520..7a6f6ad1b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# a note from ANO +# a note from Andrew Nicholas Odewahn FROM jupyter/scipy-notebook:latest WORKDIR /usr/workdir EXPOSE 8888 From befa0e4a26c26f6c0ee2436e6db65d7ed44bd558 Mon Sep 17 00:00:00 2001 From: Andrew Odewahn Date: Sun, 26 Feb 2017 07:45:29 -0500 Subject: [PATCH 9/9] updated dockerfie --- Dockerfile | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7a6f6ad1b..a710cf1c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,15 @@ -# a note from Andrew Nicholas Odewahn -FROM jupyter/scipy-notebook:latest +FROM jupyter/scipy-notebook:6399d2faf16f + +# Launchbot labels +LABEL name.launchbot.io="test" +LABEL workdir.launchbot.io="/usr/workdir" +LABEL 8888.port.launchbot.io="Jupyter Notebook" + +# Set the working directory WORKDIR /usr/workdir + +# Expose the notebook port EXPOSE 8888 -CMD jupyter notebook --no-browser --port 8888 --ip=* + +# Start the notebook server +CMD jupyter notebook --no-browser --port 8888 --ip=* \ No newline at end of file