Commit Graph

766 Commits

Author SHA1 Message Date
Troels Schwarz-Linnet
412a17b884 Fix for granting SUDO to jovyan user and run bash commands.
Test image builded with:
> docker build -t $USER/base-notebook -f Dockerfile .

> docker run -ti --rm -p 8888:8888 -e GRANT_SUDO=yes --user root jupyter/base-notebook:033056e6d164 bash
root@84db8819258d:~#

docker run -ti --rm -p 8888:8888 -e GRANT_SUDO=yes --user root $USER/base-notebook bash
> root@c23f1fd7d279:~#

> docker run -ti --rm -p 8888:8888 -e GRANT_SUDO=yes --user root jupyter/base-notebook:033056e6d164 start.sh
Set username to: jovyan
usermod: no changes
Set jovyan GID to: 100
Granting jovyan sudo access
Execute the command:
HOSTNAME=a231202e6d1a
TERM=xterm
SHELL=/bin/bash
NB_USER=jovyan
LC_ALL=en_US.UTF-8
USER=jovyan
MAIL=/var/mail/jovyan
PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
MINICONDA_VERSION=4.3.30
PWD=/home/jovyan
LANG=en_US.UTF-8
GRANT_SUDO=yes
HOME=/home/jovyan
SHLVL=1
LANGUAGE=en_US.UTF-8
no_proxy=*.local, 169.254/16
LOGNAME=jovyan
DEBIAN_FRONTEND=noninteractive
CONDA_DIR=/opt/conda
NB_GID=100
NB_UID=1000
_=/usr/bin/env
tlinnet@linmac:base-notebook$

> docker run -ti --rm -p 8888:8888 -e GRANT_SUDO=yes --user root $USER/base-notebook start.sh
Set username to: jovyan
usermod: no changes
Set jovyan GID to: 100
Granting jovyan sudo access
Execute the command:
No arguments supplied
HOSTNAME=364e5fc77224
SHELL=/bin/bash
TERM=xterm
LC_ALL=en_US.UTF-8
USER=jovyan
SUDO_USER=root
SUDO_UID=0
USERNAME=jovyan
MAIL=/var/mail/jovyan
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
PWD=/home/jovyan
LANG=en_US.UTF-8
SHLVL=1
SUDO_COMMAND=/bin/bash -c env; PATH=$PATH; bash
HOME=/home/jovyan
LANGUAGE=en_US.UTF-8
LOGNAME=jovyan
SUDO_GID=0
_=/usr/bin/env
jovyan@364e5fc77224:~$

> docker run -ti --rm -p 8888:8888 -e GRANT_SUDO=yes --user root jupyter/base-notebook:033056e6d164 start.sh echo hello
tlinnet@linmac:base-notebook$ docker run -ti --rm -p 8888:8888 -e GRANT_SUDO=yes --user root jupyter/base-notebook:033056e6d164 start.sh echo hello
Set username to: jovyan
usermod: no changes
Set jovyan GID to: 100
Granting jovyan sudo access
Execute the command: echo hello
hello
tlinnet@linmac:base-notebook$

> docker run -ti --rm -p 8888:8888 -e GRANT_SUDO=yes --user root $USER/base-notebook start.sh echo hello
Set username to: jovyan
usermod: no changes
Set jovyan GID to: 100
Granting jovyan sudo access
Execute the command: echo hello
hello
tlinnet@linmac:base-notebook$
2017-12-29 11:38:53 -05:00
Troels Schwarz-Linnet
e97bb8ab94 Added list to quickly find README of each image, when reading the main README 2017-12-29 11:38:53 -05:00
Troels Schwarz-Linnet
ef4c304544 Adding info how to mount local directory into 'work' directory 2017-12-29 11:38:53 -05:00
Troels Schwarz-Linnet
8a527c97e9 Improved README, with explaining 2 methods to start the Jupyter stacks 2017-12-29 11:38:53 -05:00
jakirkham
0b3ec811c9 Merge pull request #520 from codles/patch-2
Update Julia version in README to match script
2017-12-25 19:19:10 -08:00
Robert Luke
d98e1f7aad Update Julia version in README to match script 2017-12-26 13:23:34 +11:00
Peter Parente
db3ee82ad0 Merge pull request #518 from ellisvalentiner/patch-1
Julia v0.6.2
2017-12-18 22:21:49 -05:00
Ellis Valentiner
80f1cb9e35 Merge branch 'patch-1' of github.com:ellisvalentiner/docker-stacks into patch-1 2017-12-18 12:51:50 -05:00
Ellis Valentiner
db8f4ae0c1 Fix URL domain 2017-12-18 12:51:44 -05:00
Ellis Valentiner
740cb1e52d Merge branch 'master' into patch-1 2017-12-18 08:48:54 -05:00
Ellis Valentiner
4b417f279f Merge branch 'master' into patch-1 2017-12-18 08:46:27 -05:00
Ellis Valentiner
3c19b7499d Julia v0.6.2 2017-12-18 08:45:14 -05:00
Ellis Valentiner
e98aeb0edc Add sha256 check and use JULIA_VERSION env var 2017-12-18 08:45:13 -05:00
Ellis Valentiner
219ab91e63 julia 0.6.0 2017-12-18 08:45:13 -05:00
Peter Parente
e5c5a7d3e5 Merge pull request #508 from parente/406-integration-tests
pytest integration tests
2017-12-18 08:39:42 -05:00
Peter Parente
706194f7c0 Update jupyterlab hub ext to 0.7.0 2017-12-17 12:03:58 -05:00
Peter Parente
b45fe72323 Updating jupyterlab to 0.30.* 2017-12-17 11:41:19 -05:00
Peter Parente
22adf3eb59 Fix make test-reqs naming 2017-12-16 23:13:00 -05:00
Peter Parente
36d1ebce40 Add make test-reqs and separate requirements file
Make local test setup easier
2017-12-16 23:06:23 -05:00
Peter Parente
240285841a Remove mount permissions test
Not really testing a docker-stacks feature, only
that docker host permissions work
2017-12-16 23:03:26 -05:00
Peter Parente
c7fb6660d0 Merge pull request #510 from ellisvalentiner/julia-0.6.0
julia 0.6.0
2017-12-03 20:37:47 -05:00
Ellis Valentiner
b2f1b29806 Add sha256 check and use JULIA_VERSION env var 2017-12-02 23:11:27 -05:00
Peter Parente
167a0cb0c4 Fix mount test on CI 2017-12-02 22:03:44 -05:00
Ellis Valentiner
64b4beda1c julia 0.6.0 2017-12-01 23:10:35 -05:00
Peter Parente
803dc0c75b Fix bogus assert, add mount test 2017-12-01 22:52:00 -05:00
Peter Parente
463490fb26 MNT: Clean npm packages and JupyterLab artifacts
Spotted while writing tests
2017-11-30 00:16:09 -05:00
Peter Parente
b9139131da Tests for NB_UID, NB_GID, GRANT_SUDO options
* Improve test container teardown
* Fix needless groupmod when NB_GID is unchanged
2017-11-30 00:15:17 -05:00
Peter Parente
8a59d74813 Refactor to share fixtures with option tests 2017-11-28 23:57:05 -05:00
Peter Parente
79ad94ead4 Add requests to travis requirements 2017-11-27 23:28:37 -05:00
Peter Parente
6ba0d59446 Add placeholder tests for base-notebook 2017-11-27 23:28:11 -05:00
Peter Parente
2b75a5afce Switch to pytest for container testing 2017-11-27 23:17:03 -05:00
Peter Parente
18e0e8cf16 Remove legacy make targets 2017-11-27 23:16:13 -05:00
Peter Parente
033056e6d1 Merge pull request #507 from tlinnet/master
Activate ipywidgets for JupyterLab. #505
2017-11-23 23:57:04 -05:00
Troels Schwarz-Linnet
25d7ce281c Activate ipywidgets for JupyterLab. #505 2017-11-23 14:48:03 +01:00
Peter Parente
e89b2fe997 Merge pull request #503 from fasib/fix-r-missing-tzdata
(fix) Add tzdata as R pre-requisites. #502
2017-11-18 14:50:30 -05:00
Alexander Treptau
4fb888122b (fix) Add tzdata as R pre-requisites. #502 2017-11-18 16:27:36 +01:00
Min RK
7fd175ec22 Merge pull request #499 from minrk/prepend-r-channel
prepend R channel
2017-11-14 14:29:33 +01:00
Min RK
3ede1c190d Merge pull request #498 from minrk/bump-lab
bump jupyterlab and install jupyter-labhub extension
2017-11-14 14:05:38 +01:00
Min RK
4c983605cb add r channel at lower priority than conda-forge
avoids broken R due to mismatched icu version (probably a bad or missing pin somewhere)
2017-11-14 13:53:55 +01:00
Min RK
3e07de95cb bump jupyterlab and install jupyter-labhub extension 2017-11-14 12:00:37 +01:00
Peter Parente
417e06bfc4 Merge pull request #496 from blacknred0/master
Patch R package install user issues
2017-11-12 17:30:46 -05:00
Irving Duran
4d57b558ab Patch R package install user issues
-The following patch addresses issue #489
(https://github.com/jupyter/docker-stacks/issues/489)
2017-11-12 13:18:09 -06:00
Peter Parente
279b14bbdd Merge pull request #495 from minrk/bump-miniconda
bump miniconda version to 4.3.30
2017-11-10 23:25:30 -05:00
Min RK
65e5f24aa6 bump miniconda version 2017-11-10 12:55:15 +01:00
Peter Parente
a787eed884 Merge pull request #490 from cglewis/master
MAINTAINER is deprecated, using LABEL now
2017-11-02 22:56:25 -04: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
Peter Parente
9e9dea89d6 Merge pull request #482 from gnestor/notebook-5.2.0
Upgrade to notebook 5.2.0
2017-10-20 23:03:45 -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