Commit Graph

99 Commits

Author SHA1 Message Date
Min RK
65e5f24aa6 bump miniconda version 2017-11-10 12:55:15 +01:00
cglewis
d91d4a8c48 MAINTAINER is deprecated, using LABEL now 2017-10-31 20:17:06 -07:00
Peter Parente
da2c5a4d00 Merge pull request #485 from tylere/master
Update jupyterlab to 0.28
2017-10-22 17:30:51 -04:00
Tyler Erickson
50b0831c8e Update jupyterlab to 0.28
Update jupyterlab from 0.27.* to 0.28.*. This allows the current
version of ipywidgets (7.0.2) to be installed.
2017-10-19 10:00:22 -07:00
Grant Nestor
40a2791b73 Upgrade to notebook 5.2.0 2017-10-13 10:26:00 -07:00
Bas Nijholt
2404602e57 jupyterhub to version 0.8 2017-10-06 13:41:18 +02:00
Grant Nestor
01c9e6c66b Upgrade to notebook 5.1 2017-09-26 11:03:38 -07:00
Min RK
38710f5819 homedir fixes
- don't relocate home if home exists (e.g. mounted volume)
- respect workdir, only cd to new home if we were in /home/jovyan/
2017-09-07 21:34:42 +02:00
Peter Parente
c138070427 Fix working directory problems with custom NB_USER
Improve start.sh logging along the way
2017-09-04 21:10:15 -04:00
Min RK
b69f43e098 remove user-facing start-singleuser.sh docs
it’s handled internally
2017-08-26 09:54:58 -04:00
Min RK
80359f314a leftover mentions of user-writable group
use `users` instead
2017-08-26 09:51:58 -04:00
Min RK
2df9c49a74 set setuid/setgid bits in fix-permissions
ensures files have the right owner:group

unfortunately, not enough to get group-writable permissions (need acl or umask for that),
so we still need to run it after each install
2017-08-26 09:50:58 -04:00
Min RK
c6c1ce4cb0 use groups for managing write-access to files
- any files the user should be able to write should have group `user-permissions` with `g+rwX`
- remove `chown` from start.sh because it is no longer needed
- add `fix-permissions` script for setting the user-writable permissions on a path
- user-permissions group as GID 10000 (is there a reason for it to have a different value?)
- containers can set group with `--group-add user-writable` if they want to run with a different uid/gid
  (without -u root -e NB_UID -e NB_GID, which make this unnecessary)
2017-08-26 09:50:56 -04:00
Min RK
93b880cb80 Merge pull request #446 from parente/doc-ports-for-lab
[ci skip] Documentation improvements
2017-08-26 09:42:44 -04:00
Peter Parente
a802e4b84d [ci skip] Copy/paste is evil 2017-08-26 09:13:22 -04:00
Peter Parente
04107c39b2 Update jupyterlab to 0.27.* 2017-08-24 14:33:13 -04:00
Peter Parente
5131f0df81 [ci skip] Doc host mount permission requirements 2017-08-22 15:46:25 -04:00
Peter Parente
09c9a4fd9c [ci skip] Add a jupyter lab example with ports 2017-08-22 14:28:23 -04:00
Peter Parente
d9716fd822 Update jupyterlab to 0.26.* 2017-08-22 14:10:33 -04:00
fouding
75742278ce fix condition-testing syntax bugs 2017-08-16 17:17:09 +08:00
Min RK
5ded1de072 Merge pull request #431 from minrk/docker-args
make jupyterhub env->cli args optional
2017-08-11 11:35:22 +02:00
Min RK
3146037b6f quote NOTEBOOK_DIR 2017-08-11 10:27:16 +02:00
Min RK
32b3d2bec2 Remove Python 2
Only Python 3 from now on
2017-08-10 16:08:30 +02:00
Min RK
695a97e4a0 make jupyterhub env->cli args optional
DockerSpawner will stop passing these args,
so make them optional.
2017-08-10 15:40:35 +02:00
Min RK
82b978b3ce Merge pull request #428 from minrk/ubu
proposal: base image on ubuntu:16.04 (LTS)
2017-08-10 14:53:35 +02:00
Peter Parente
0c68990e93 Merge pull request #425 from minrk/warn-ignored-config
warn about unused config
2017-08-09 16:39:44 -04:00
Min RK
0351f0c3b7 base image on ubuntu:16.04 2017-08-09 11:07:29 +02:00
Min RK
e91827d358 keep accepting 'yes' for GRANT_SUDO 2017-08-09 10:23:01 +02:00
Min RK
489bc324e2 warn about unused config
if some env vars are set that aren't used,
complain about it so behaviour is a bit less surprising
2017-08-07 16:07:53 +02:00
Anton Akhmerov
599bb5a3e3 update home folder and username on startup
closes #414
2017-08-03 18:08:35 +07:00
Min RK
9e6b4a5345 start.sh: fix check for if we are root
UID env is not set when launching as root, use `id -u` check instead
2017-07-21 14:33:44 +02:00
Peter Parente
e1e3f24b5d Docker Cloud build phase hooks
Must be located in the root of each docker build context
i.e., every stack folder
2017-07-09 15:59:19 -04:00
Peter Parente
2edefe2797 Prefer conda-forge pkgs 2017-06-26 23:57:31 -04:00
Peter Parente
ceba183f27 Update miniconda3 to 4.3.21, Python 3.6 2017-06-25 12:54:08 -04:00
Peter Parente
19b9d93305 Revert "Fix sudoers.d inclusion on debian img (fix #394)"
This reverts commit 4b3b6697e7.
2017-06-21 07:07:13 -05:00
Peter Parente
df7a34bebe Merge pull request #397 from Stibbons/start_logs_pr
Add logs to start.sh
2017-06-09 22:50:34 -04:00
Peter Parente
4947f58181 Merge pull request #396 from Stibbons/fix_sudoers_pr
Fix sudoers.d inclusion with debian img (fix #394)
2017-06-09 22:06:45 -04:00
Gaetan Semet
7dc0fc86ec Add logs to start.sh
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2017-06-08 15:13:24 +02:00
Gaetan Semet
4b3b6697e7 Fix sudoers.d inclusion on debian img (fix #394)
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2017-06-08 15:11:36 +02:00
Min RK
2e160bb941 launch single-user entrypoint if JUPYTERHUB_API_TOKEN is defined
DockerSpawner sets certain environment variables, so assume jupyterhub entrypoint when defined
2017-06-07 13:04:31 +02:00
Min RK
0805573e09 invoke start.sh in start-singleuser.sh
ensures common behavior of things like GRANT_SUDO
2017-06-07 12:49:48 +02:00
Peter Parente
45624afa1b Fix chown of $NB_USER home 2017-06-04 11:09:24 -04:00
Min RK
877a95d162 add JULIA_PKGDIR to chown in start.sh 2017-05-27 18:35:25 -07:00
Min RK
e4c54c9002 finish removing files from $HOME
- mplimporthook should be obsolete with matplotlib 2.0
- curlrc seems to be obsolete now (updates to base image?)
- set WORKDIR to $HOME instead of $HOME/work (leave work there for compatibility)
2017-05-27 18:25:26 -07:00
Stanislav Khotinok
ac9620e4a9 Added description of NB_GID to README.md files 2017-05-26 13:26:56 +02:00
Stanislav Khotinok
00591d836e Removed empty spaces 2017-05-18 16:29:51 +02:00
Stanislav Khotinok
77ea89d223 Added possibility to change GID of the NB_USER if NB_GID 2017-05-18 16:06:15 +02:00
Peter Parente
bb222f4922 Merge pull request #375 from minrk/system-wide
reduce files in home directory a bit
2017-05-16 13:54:43 -04:00
Peter Parente
1e3aa15606 Merge pull request #383 from minrk/override-port
singleuser: allow overriding port with JPY_PORT env
2017-05-16 13:54:28 -04:00
Min RK
c4a00292a9 singleuser: allow overriding port with JPY_PORT 2017-05-15 11:56:22 +02:00