Commit Graph

55 Commits

Author SHA1 Message Date
Ayaz Salikhov
a2086ce626 Start using Ubuntu 20.04 (focal) 2020-05-28 10:42:03 +02:00
Peter Prescott
3378394f94 replace emacs with emacs-nox 2020-04-07 09:17:58 +01:00
Peter Prescott
5765399ca4 add vim-tiny for now 2020-04-06 11:05:29 +01:00
Peter Prescott
ee3f5393b2 add vim to minimal-notebook (cf. issue 779) 2020-04-05 01:13:56 +01:00
romainx
9b983ea89d clean tex dependency + test 2020-02-17 21:40:36 +01:00
romainx
d1e10fc795 Remove pandoc os package install 2020-02-14 20:07:18 +01:00
Luca Pireddu
65d8260880 Don't upgrade base image; clean cached deb files after apt-get install 2019-09-18 13:59:15 +02:00
Chia-liang Kao
a657b782bd Move tzdata to minimal-notebook and document it 2019-03-25 16:04:04 +08:00
Tim Ryan
3fc28b67e0 Remove apt-get clean command. Unecessary on official Ubuntu images. 2018-12-17 10:40:58 -05:00
graemes
1d763bbac5 Convert FROM specification to ARG (#727) 2018-10-19 18:52:27 +01:00
robinovitch61
342ff37844 remove vim, add nano 2018-05-23 22:24:03 -07:00
Peter Parente
674e04d9c9 net -> netcat 2018-03-18 18:50:14 -04:00
Peter Parente
6b88a4c2bc Fix netcat install 2018-03-17 21:47:19 -04:00
Giovanni Lanzani
f6adc59fe3 Add netcat
Netcat (nc) is often used as a tool to test socket server/client, 
and very useful to quickly get started with, f. e., Spark Streaming. 

See #583.
2018-03-15 06:16:38 +01:00
Graham Dumpleton
770007bb10 Use NB_UID for USER statement in Dockerfile so deployment platform can verify that image doesn't run as root. 2018-02-15 11:11:32 +11:00
cglewis
d91d4a8c48 MAINTAINER is deprecated, using LABEL now 2017-10-31 20:17:06 -07:00
Peter Parente
b114a06f75 Use R packages from conda-forge 2017-06-26 23:57:47 -04:00
Vishu Dontham
3431d0cdbd changes for accomomdating lmodern 2017-04-30 20:22:18 +05:30
Dan Leehr
f896eb186e Adds texlive-xetex package
texlive-xetex provides xelatex, fixing `nbconvert failed: xelatex not found on PATH` issue
2017-03-16 10:14:43 -04:00
Peter Parente
d7a259a758 Add inkscape to fix SVGs in PDFs
Fixes #243

(c) Copyright IBM Corp. 2016
2016-07-26 15:38:56 -04:00
Sebastian Reuße
fdb247ec0c Make use of available environment variables
base-notebook defines environment variables for the Conda install path and the
notebook user. However, in some instances, these locations were still hardcoded.
Let’s use the variables instead.
2016-06-28 11:31:24 +02:00
Peter Parente
839e8307b6 Rename to base-notebook
(c) Copyright IBM Corp. 2016
2016-05-26 20:58:29 -04:00
Peter Parente
b9ff1d25b1 New tiny notebook base image
(c) Copyright IBM Corp. 2016
2016-05-26 20:58:29 -04:00
Peter Parente
9ef58fb5d5 Update debian base image for CVEs
https://github.com/docker-library/official-images/pull/1695

(c) Copyright IBM Corp. 2016
2016-05-13 22:39:04 -04:00
jakirkham
2bcf753a66 Merge pull request #192 from parente/notebook-4.2
[WIP] Upgrade to notebook 4.2, ipywidgets 5.0
2016-05-05 12:39:34 -04:00
Min RK
d9c5c1519a subscribe to conda-forge conda channel 2016-04-29 16:14:53 +02:00
Peter Parente
39104f2432 Upgrade to notebook 4.2, ipywidgets 5.0 2016-04-26 08:55:18 -04:00
Justin Tyberg
cf78782f87 Add single-user scripts to minimal-notebook stack to make notebook
stacks easily usable with JupyterHub.

* pip install jupyterhub to gain access to the jupyterhub-singleuser
  startup script, which starts a single-user instance of the Notebook
  server
* Add shell script to wrap jupyterhub-singleuser script; use as
  alternate Docker command

fixes #181

(c) Copyright IBM Corp. 2016
2016-04-12 15:37:03 -04:00
Mladen Kolovic
be4ca70017 Add cacert to .curlrc in home directory
Specify `cacert=/etc/ssl/certs/ca-certificates.crt` in `/home/$NB_USER/.curlrc` so curl can locate the certificates.
2016-03-14 13:31:19 -04:00
John Kirkham
630ceec257 Dockerfile: Clean apt-get lists. 2016-03-07 21:38:40 -05:00
John Kirkham
5880e3c41e docker: Pin to a particular release of Debian Jessie via sha256.
This is done to more explicitly track what version of Debian Jessie is
being used as a base image. It will also ensure that it is properly
updated on the VM even if we forget. This also should help CI and VM
builds stay speedy by using the cache even when there is a newer version
of Debian Jessie. In the long run, we may wish to re-evaluate this
strategy and fix our CI and deployment systems so as to be able to use
the latest version of Debian Jessie with important CVE and other fixes.
2016-03-06 21:13:57 -05:00
John Kirkham
a5cc245a7a docker: Make conda installs quieter. 2016-03-06 21:13:57 -05:00
John Kirkham
0458a87516 minimal-notebook/Dockerfile: Clean out conda. 2016-03-04 18:29:31 -05:00
Fernando Perez
3eefa923fe Update conda to py35/current, tini to 0.9.0 and add jed/emacs editors. 2016-02-12 21:22:42 -08:00
Peter Parente
3c7c2c1d07 Bump to Jupyter Notebook 4.1
(c) Copyright IBM Corp. 2016
2016-01-17 11:27:34 -05:00
Peter Parente
9aae44ef66 Use updated LICENSE.md file
Also fix copyright headers on various files
2016-01-17 11:27:10 -05:00
Peter Parente
e19f504099 Add texlive-generic-recommended to fix PDF export
Fixes #99

(c) Copyright IBM Corp. 2016
2016-01-08 21:07:14 -05:00
Peter Parente
2988869079 Merge pull request #92 from parente/jovyan-by-default
Make jovyan the default user for the docker cmd
2016-01-04 20:53:47 -05:00
Peter Parente
b7aeac87f4 Install libxrender1 to appease matplotlib
Bite the bullet and preinstall it so that plotting libs that default
to using desktop rendering just work (matplotlib, ggplot, ...)
out of the box without having to get configuration right beforehand
(e.g., %matplotlib inline ahead of matplotlib import)

Only adds ~100k to the image size

(c) Copyright IBM Corp. 2015
2016-01-02 12:45:30 -05:00
Peter Parente
6d5cd67528 Make jovyan the default user for the docker cmd
* Switch to jovyan at the end of every Dockerfile
* Document --user root requirement for NB_UID and GRANT_SUDO flags

(c) Copyright IBM Corp. 2015
2015-12-27 21:05:48 -05:00
Peter Parente
3562a0c121 Configure en_US.UTF-8
Fixes #82

(c) Copyright IBM Corp. 2015
2015-12-16 22:42:22 -05:00
Peter Parente
937dc6efa7 Create jovyan user before conda install
Avoids costly chown, fixes #81

(c) Copyright IBM Corp. 2015
2015-12-16 22:40:07 -05:00
Peter Parente
678b64e9e4 Swap tini for supervisord
* Pass $@ args to start-notebook.sh
* Set tini as entrypoint, but keep start-notebook.sh as easily overridable CMD
* su to jovyan user within start-notebook.sh script

Contribution (c) Copyright IBM Corp. 2015
2015-09-22 20:51:18 -04:00
Peter Parente
0c508efe4e Set group=users on home and conda dir 2015-09-12 20:37:53 -04:00
Peter Parente
dba9977525 Create jovyan in Dockerfile, reset UID at startup
* Create user jovyan with UID=1000 in the default users group in the Dockerfile
* Set group ownership of user home and conda to root to avoid 'users' group from host access when mounted
* Set stick bit on both paths so root owns subdirs too
* Change jovyan UID if NB_UID is specified and is not the default 1000

Contribution (c) Copyright IBM Corp. 2015
2015-09-10 23:46:31 -04:00
Peter Parente
5bc8eb1822 Make jovyan name / paths constant 2015-08-30 09:11:19 -04:00
Peter Parente
701212dbf1 Explicitly set USER root in every Dockerfile
Contribution (c) Copyright IBM Corp. 2015
2015-08-29 21:50:04 -04:00
Peter Parente
80c8475276 Improve start-notebook.sh checks
* Only create jovyan and set perms if user does not exist
* Allow docker host mount for NB_WORK: copy skel files if useradd fails because home dir already exists

Contribution (c) Copyright IBM Corp. 2015
2015-08-28 23:45:01 -04:00
Peter Parente
c4616560cf Make subimages compatible with late user creation
* Always remain as root during install
* Put kernel specs in system path, not user home
* Create user work directory at startup
* Note this is in 4.0 and up images, not 3.2

Contribution (c) Copyright IBM Corp. 2015
2015-08-28 23:43:57 -04:00
Carl Osterwisch
30932a3b12 Revert to using supervisord to launch notebook
Used to relaunch notebook and collect logging data.
2015-08-28 23:39:08 -04:00