Commit Graph

61 Commits

Author SHA1 Message Date
Min RK
4257cc9305 run notebook tests instead of IPython tests 2016-01-21 16:34:08 +01: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
Min RK
8a24283acb ipykernel no longer has requirements.txt 2015-07-14 13:43:01 -07:00
Min RK
edcc91765d update Dockerfile
with new current repo layout
2015-05-20 22:02:38 -07:00
Peter Parente
0a57949cce Bump less to @<3.0 so setup.py css works 2015-01-21 22:08:39 -05:00
Doug Blank
e44567fc4e Update Dockerfile
Latest master removed the `--system` flag. You can pass a `--user` flag for non-system install.
2014-12-29 12:33:11 -05:00
Kyle Kelley
b97279a89c Pin the version of less used in the Dockerfile. 2014-11-30 20:24:25 -06:00
Jessica Frazelle
6abb4e7e55 Update Dockerfile.
Fixed to not use `apt-get upgrade` &
`apt-get update` is not on a single line
re: dockerfile best practices
https://docs.docker.com/articles/dockerfile_best-practices/

Signed-off-by: Jessica Frazelle <jess@docker.com>
2014-10-29 14:23:26 -07:00
MinRK
41cfd4f5cf use invoke instead of fabric
it's the descendant of the part of fabric we actually use,
it doesn't have complex compiled dependencies like fabric,
and it works on Python 3.
2014-10-15 16:53:07 -07:00
MinRK
cb005e916c run iptest in Dockerfile
and install sphinx with apt, since it's super slow
because of 2to3
2014-09-26 11:27:22 -07:00
Kyle Kelley
8417a9f9b5 Make this a solid, minimal base image.
This was taken almost entirely from the original ipython/base image.
The plan is to have the ipython/scipystack image derive from this one
in the future and for builds to get setup.
2014-09-25 02:49:27 +00:00
MinRK
52434ef364 use file://$PWD#egg=ipython[all] in Dockerfile
so we can install ipython[all] with pip.
Because .[all] doesn't work for whatever reason.
Removes need to install other dependencies with pip beforehand.
2014-09-24 16:14:14 -07:00
Kyle Kelley
9611044373 Update Dockerfile 2014-09-24 16:12:22 -07:00
Kyle Kelley
c36b861209 Definitely don't want the direct submodule stuff 2014-09-24 16:12:22 -07:00
Kyle Kelley
e0b822b264 Toss opinionated user creation out 2014-09-24 16:12:21 -07:00
Kyle Kelley
78b7d5f800 Switch back to ADD 2014-09-24 16:12:21 -07:00