Commit Graph

75 Commits

Author SHA1 Message Date
Frederik Nordahl Jul Sabroe
d33ce47f40 Dockerfile: Added --no-browser argument to CMD
The docker images doesn't contain any browsers, therefore there is no need for trying to launch a browser.
2016-04-13 22:32:15 +02:00
John Kirkham
fe16877ecd Dockerfile: Add missing --no-cache-dir option. 2016-03-04 12:45:44 -05:00
Derek Sifford
b112f015de Add comment to line 5 referencing docker-stacks 2016-02-27 00:35:32 -05:00
Derek Sifford
0e71b5ea1f Add dependencies to python build layer
`pip2 install scipy` (and potentially others) fails without `libatlas-base-dev` and `gfortran`.
2016-02-26 18:25:47 -05:00
brandles
5e098ee732 Updated Dockerfile for widgetsnbextension 2016-02-20 14:49:14 -06:00
Thomas Kluyver
e78f747314 Run tests in verbose mode in Dockerfile 2016-02-05 16:40:44 +00:00
Jonathan Frederic
e19b9b2703 Update dockerfile 2016-02-02 14:49:24 -08:00
Min RK
2f67942698 Merge pull request #547 from jakirkham/docker_ci
Docker CI
2016-01-29 08:40:12 +01:00
John Kirkham
3f78a3edb4 Dockerfile: Use the Ubuntu 14.04 image with the locale fix.
CircleCI's LXC AppArmor configuration stops us from trying to change the
locale. So, we create a base image where the locale is already changed
to en_US.UTF-8. This image is part of the docker-stacks now. As
DockerHub has no such constraints we have an automated build creating
that image so we can easily pull it into here. The base image remains
Ubuntu:14.04 and the configuration is really no different except for
moving this change into the base image.
2016-01-28 21:31:18 -05:00
John Kirkham
ee8e3e4ae3 Dockerfile: Remove commit based iPython install. 2016-01-27 13:45:33 -05:00
Min RK
0e6b1782e5 don't remove requests
it's a pointless waste
2016-01-21 17:03:38 +01:00
Min RK
001b3b7936 install widgets 2016-01-21 16:34:09 +01:00
Min RK
4257cc9305 run notebook tests instead of IPython tests 2016-01-21 16:34:08 +01:00
John Kirkham
9fe7719560 Dockerfile: Install ipython using commit ( a58ab37122 ) on master with the test fix. This renders installing the patch directly unnecessary. This workaround should be removed on the next release of ipython that includes the aforementioned commit. 2015-10-12 09:57:26 -04:00
John Kirkham
aaa5dbefd5 Dockerfile: Apply the patch for iPython in both Python 2 & 3 environments. 2015-10-12 09:57:14 -04:00
John Kirkham
2902db6551 Dockerfile: Remove ~/tmp, which is generated during the build step and is empty afterwards. 2015-10-12 09:56:31 -04:00
John Kirkham
7639785c28 Dockerfile: Remove ~/.local after building the notebook. This directory only contains bower stuff and bower is removed in this RUN step. 2015-10-12 09:56:30 -04:00
John Kirkham
a7c3fa8b66 Dockerfile: Remove ~/.config after building the notebook. This directory only contains bower stuff and bower is removed in this RUN step. 2015-10-12 09:56:30 -04:00
John Kirkham
62b80f8d74 Dockerfile: Remove the ~/.npm cache directory. 2015-10-12 09:56:30 -04:00
John Kirkham
894fb8ccf7 Dockerfile: Clean the cache of npm. 2015-10-12 09:56:30 -04:00
John Kirkham
aa02577f6e Dockerfile: Remove ~/.cache after every build step as it seems to appear after pip and npm steps anyways. 2015-10-12 09:56:30 -04:00
John Kirkham
4157b176e4 Dockerfile: Add a basic jupyter notebook profile. Allow for IPs from anywhere to connect by adding this into the the jupyter notebook profile. 2015-10-12 09:18:39 -04:00
John Kirkham
b0659de0da Dockerfile: Extra unneeded install line. 2015-10-12 07:20:00 -04:00
John Kirkham
587d72fa02 Dockerfile: Install requests with the security feature and needed dependencies. This should resolve the SSL InsecurePlatformWarning that is issued during the build. However, this won't resolve the issue when installing pip. 2015-10-11 12:18:00 -04:00
Min RK
f9bb2a2926 Merge pull request #584 from jakirkham/add_python3
Docker: Add `python3` to `apt-get` installed dependencies
2015-10-11 11:23:28 +02:00
John Kirkham
ea73856adc Dockerfile: Add python3 explicitly to the dependencies installed by apt-get in the beginning. 2015-10-10 16:14:07 -04:00
John Kirkham
7c1a307452 Dockerfile: Fix a typo. [ci skip] 2015-10-10 16:12:36 -04:00
John Kirkham
db911722ae Dockerfile: Port should not need to be specified as we are using the default one. 2015-10-09 16:51:19 -04:00
John Kirkham
fdfacb9aeb Dockerfile: Turns out a copy of python is now packaged with this image. However, it blocks us from getting the development requirements that we want. As a result, we simply must purge this as our first step. [ci skip] 2015-10-09 14:20:30 -04:00
John Kirkham
6bd7a73456 Dockerfile: Install tini and use as the entrypoint to handle zombie processing reaping. Run notebook with some default arguments if no other command is provided. 2015-10-08 00:47:02 -04:00
John Kirkham
456ee6c4c1 Dockerfile: Install all apt-get dependencies first and purge all unneeded things. Install pip in a separate layer. Separate out adding link into a layer. Install ipython dependencies in another layer. 2015-10-08 00:47:02 -04:00
John Kirkham
8a4e14a00d Dockerfile: Set the python encoding to UTF-8. This is more of a python2 issue. In python3, *I believe* this is default. This comes up mainly when not using a TTY where stdout can have a determined encoding. See for more details ( <http://www.macfreek.nl/memory/Encoding_of_Python_stdout> ). 2015-10-08 00:47:02 -04:00
Frank Sachsenheim
3b5f748045 Moves kernel configuration and test up in Dockerfile
thus image builds are faster when only notebook-code is changed
2015-10-07 01:16:34 +02:00
Frank Sachsenheim
81a36e9523 Makes File->Download as->pdf in Docker image functional 2015-10-06 00:10:07 +02:00
Frank Sachsenheim
b3bed38120 fixtest 2015-10-06 00:10:07 +02:00
Frank Sachsenheim
46281b9216 Adds self-test while building Docker image 2015-10-06 00:01:27 +02:00
Frank Sachsenheim
7524fb8786 Adds a default volume to persist notebooks 2015-10-06 00:01:27 +02:00
Frank Sachsenheim
146f6a8c11 Adds an entrypoint to the Docker image
this fixes two quirks of running in a container
and adds essential networking options
2015-10-06 00:01:27 +02:00
Frank Sachsenheim
9f34fb1ca4 Changes source location to /ipython in Docker image
placing it in `/srv` violates FHS
2015-10-06 00:01:27 +02:00
Frank Sachsenheim
28e7664239 Removes build-dependencies after installation in Dockerfile 2015-10-06 00:01:27 +02:00
Frank Sachsenheim
d591a26cbd Reduces layers of Docker image 2015-10-06 00:01:27 +02:00
Frank Sachsenheim
8507e247be Removes implicit installations and unused packages from Docker image 2015-10-06 00:01:27 +02:00
Frank Sachsenheim
3a05d44a38 Don't cache PyPI in Docker image 2015-10-06 00:01:27 +02:00
Frank Sachsenheim
cdeebbe1bd Reduces apt's overhead in Docker image 2015-10-06 00:01:27 +02:00
Frank Sachsenheim
bc123a307b Removes redundant locales-generation in Docker image
They will be generated during the next installation
2015-10-06 00:01:27 +02:00
Frank Sachsenheim
f8f5f7ed3b Installs the recent pip-release on build 2015-10-06 00:01:27 +02:00
Kyle Kelley
80ba787629 Expose the default port of 8888 2015-10-01 17:24:18 -04:00
Kyle Kelley
54a6d94447 ipykernel direct, no tests in container 2015-09-10 15:53:37 -05:00
Kyle Kelley
8790cc182e Only install ipython as is 2015-09-10 15:30:40 -05:00
Min RK
2b5ba10ce9 remove requirements.txt
and update README installation accordingly
2015-07-23 09:31:19 -07:00