Skip to content

aarch64 docker stacks foundation bceaead5d288

Ayaz Salikhov edited this page Nov 19, 2023 · 6 revisions

Build manifest for image: docker-stacks-foundation:bceaead5d288

Build Info

  • Build timestamp: 2023-10-17T12:48:03Z
  • Docker image: jupyter/docker-stacks-foundation:bceaead5d288
  • Docker image size: 347MB
  • Git commit SHA: bceaead5d288faf8b6da09d94829041b62bf34e4
  • Git commit message:
Migrate start-notebook & start-singleuser to python (#2006)

* Migrate start-notebook.sh to bash

Based on

> Stop using bash, haha 👍

from https://github.com/jupyter/docker-stacks/issues/1532.

If there's more apetite for this, I'll try to migrate
`start.sh` and `start-singleuser.sh` as well - I think they should
all be merged together. We can remove the `.sh` suffixes for
accuracy, and keep symlinks in so old config still works. Since
the shebang is what is used to launch the correct interpreter,
the `.sh` doesn't matter.

Will help fix https://github.com/jupyter/docker-stacks/issues/1532,
as I believe all those things are going to be easier to do from
python than bash

* Rename start-notebook.sh to start-notebook

* Cleanup start-notebook a little

* Fix typo

* Migrate start-singleuser as well

* Remove unused import

* Run symlink commands as root

* Combine repetitive RUN commands

* Remove multiple args to env

-u can not be set by shebang, we must set the env var
instead

* Fix conditional inversion

Co-authored-by: Ayaz Salikhov <[email protected]>

* Fix how start-singleuser is exec'd

* Actually call jupyterhub-singleuser in start-singleuser

* Pass through any additional args we get

* Put .py suffix on the start-* scripts

* Add .sh shims for the start-* scripts

* Document start-notebook.sh and start-singleuser.sh

* Partially test start-notebook.sh

* Reflow warning docs

Co-authored-by: Ayaz Salikhov <[email protected]>

---------

Co-authored-by: Ayaz Salikhov <[email protected]>

Python Packages

Python 3.11.6

          mamba version : 1.5.2
     active environment : None
       user config file : /home/jovyan/.condarc
 populated config files : /opt/conda/.condarc
          conda version : 23.9.0
    conda-build version : not installed
         python version : 3.11.6.final.0
       virtual packages : __archspec=1=aarch64
                          __glibc=2.35=0
                          __linux=6.2.0=0
                          __unix=0=0
       base environment : /opt/conda  (writable)
      conda av data dir : /opt/conda/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-aarch64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /opt/conda/pkgs
                          /home/jovyan/.conda/pkgs
       envs directories : /opt/conda/envs
                          /home/jovyan/.conda/envs
               platform : linux-aarch64
             user-agent : conda/23.9.0 requests/2.31.0 CPython/3.11.6 Linux/6.2.0-1016-gcp ubuntu/22.04.3 glibc/2.35
                UID:GID : 1000:100
             netrc file : None
           offline mode : False
# packages in environment at /opt/conda:
#
# Name                    Version                   Build  Channel
_openmp_mutex             4.5                       2_gnu    conda-forge
boltons                   23.0.0             pyhd8ed1ab_0    conda-forge
brotli-python             1.1.0           py311h8715677_1    conda-forge
bzip2                     1.0.8                hf897c2e_4    conda-forge
c-ares                    1.20.1               h31becfc_0    conda-forge
ca-certificates           2023.7.22            hcefe29a_0    conda-forge
certifi                   2023.7.22          pyhd8ed1ab_0    conda-forge
cffi                      1.16.0          py311h7963103_0    conda-forge
charset-normalizer        3.3.0              pyhd8ed1ab_0    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
conda                     23.9.0          py311hec3470c_0    conda-forge
conda-package-handling    2.2.0              pyh38be061_0    conda-forge
conda-package-streaming   0.9.0              pyhd8ed1ab_0    conda-forge
cryptography              41.0.4          py311hd42d77a_0    conda-forge
fmt                       10.1.1               h2a328a1_0    conda-forge
icu                       73.2                 h787c7f5_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
jsonpatch                 1.33               pyhd8ed1ab_0    conda-forge
jsonpointer               2.4             py311hec3470c_3    conda-forge
jupyter_core              5.4.0           py311hec3470c_0    conda-forge
keyutils                  1.6.1                h4e544f5_0    conda-forge
krb5                      1.21.2               hc419048_0    conda-forge
ld_impl_linux-aarch64     2.40                 h2d8c526_0    conda-forge
libarchive                3.7.2                h566b526_0    conda-forge
libcurl                   8.4.0                h4e8248e_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libexpat                  2.5.0                hd600fc2_1    conda-forge
libffi                    3.4.2                h3557bc0_5    conda-forge
libgcc-ng                 13.2.0               hf8544c7_2    conda-forge
libgomp                   13.2.0               hf8544c7_2    conda-forge
libiconv                  1.17                 h9cdd2b7_0    conda-forge
libmamba                  1.5.2                hea3be6c_0    conda-forge
libmambapy                1.5.2           py311h765b69a_0    conda-forge
libnghttp2                1.52.0               h250e5c5_0    conda-forge
libnsl                    2.0.1                h31becfc_0    conda-forge
libsolv                   0.7.25               hd84c7bf_0    conda-forge
libsqlite                 3.43.2               h194ca79_0    conda-forge
libssh2                   1.11.0               h492db2e_0    conda-forge
libstdcxx-ng              13.2.0               h9a76618_2    conda-forge
libuuid                   2.38.1               hb4cce97_0    conda-forge
libxml2                   2.11.5               h3091e33_1    conda-forge
libzlib                   1.2.13               h31becfc_5    conda-forge
lz4-c                     1.9.4                hd600fc2_0    conda-forge
lzo                       2.10              h516909a_1000    conda-forge
mamba                     1.5.2           py311hb6c5aa6_0    conda-forge
ncurses                   6.4                  h2e1726e_0    conda-forge
openssl                   3.1.3                h31becfc_0    conda-forge
packaging                 23.2               pyhd8ed1ab_0    conda-forge
pip                       23.3               pyhd8ed1ab_0    conda-forge
platformdirs              3.11.0             pyhd8ed1ab_0    conda-forge
pluggy                    1.3.0              pyhd8ed1ab_0    conda-forge
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pycosat                   0.6.6           py311hcd402e7_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pyopenssl                 23.2.0             pyhd8ed1ab_1    conda-forge
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
python                    3.11.6          h43d1f9e_0_cpython    conda-forge
python_abi                3.11                    4_cp311    conda-forge
readline                  8.2                  h8fc344f_1    conda-forge
reproc                    14.2.4.post0         h31becfc_0    conda-forge
reproc-cpp                14.2.4.post0         h2f0025b_0    conda-forge
requests                  2.31.0             pyhd8ed1ab_0    conda-forge
ruamel.yaml               0.17.35         py311hcd402e7_0    conda-forge
ruamel.yaml.clib          0.2.7           py311hcd402e7_2    conda-forge
setuptools                68.2.2             pyhd8ed1ab_0    conda-forge
tk                        8.6.13               h194ca79_0    conda-forge
tqdm                      4.66.1             pyhd8ed1ab_0    conda-forge
traitlets                 5.11.2             pyhd8ed1ab_0    conda-forge
truststore                0.8.0              pyhd8ed1ab_0    conda-forge
typing-extensions         4.8.0                hd8ed1ab_0    conda-forge
typing_extensions         4.8.0              pyha770c72_0    conda-forge
tzdata                    2023c                h71feb2d_0    conda-forge
urllib3                   2.0.6              pyhd8ed1ab_0    conda-forge
wheel                     0.41.2             pyhd8ed1ab_0    conda-forge
xz                        5.2.6                h9cdd2b7_0    conda-forge
yaml-cpp                  0.8.0                h2f0025b_0    conda-forge
zstandard                 0.21.0          py311hb827a26_1    conda-forge
zstd                      1.5.5                h4c53e97_0    conda-forge

Apt Packages


WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Listing...
adduser/now 3.118ubuntu5 all [installed,local]
apt/now 2.4.10 arm64 [installed,local]
base-files/now 12ubuntu4.4 arm64 [installed,local]
base-passwd/now 3.5.52build1 arm64 [installed,local]
bash/now 5.1-6ubuntu1 arm64 [installed,local]
bsdutils/now 1:2.37.2-4ubuntu3 arm64 [installed,local]
bzip2/now 1.0.8-5build1 arm64 [installed,local]
ca-certificates/now 20230311ubuntu0.22.04.1 all [installed,local]
coreutils/now 8.32-4.1ubuntu1 arm64 [installed,local]
dash/now 0.5.11+git20210903+057cd650a4ed-3build1 arm64 [installed,local]
debconf/now 1.5.79ubuntu1 all [installed,local]
debianutils/now 5.5-1ubuntu2 arm64 [installed,local]
diffutils/now 1:3.8-0ubuntu2 arm64 [installed,local]
dpkg/now 1.21.1ubuntu2.2 arm64 [installed,local]
e2fsprogs/now 1.46.5-2ubuntu1.1 arm64 [installed,local]
findutils/now 4.8.0-1ubuntu3 arm64 [installed,local]
gcc-12-base/now 12.3.0-1ubuntu1~22.04 arm64 [installed,local]
gpgv/now 2.2.27-3ubuntu2.1 arm64 [installed,local]
grep/now 3.7-1build1 arm64 [installed,local]
gzip/now 1.10-4ubuntu4.1 arm64 [installed,local]
hostname/now 3.23ubuntu2 arm64 [installed,local]
init-system-helpers/now 1.62 all [installed,local]
libacl1/now 2.3.1-1 arm64 [installed,local]
libapt-pkg6.0/now 2.4.10 arm64 [installed,local]
libattr1/now 1:2.5.1-1build1 arm64 [installed,local]
libaudit-common/now 1:3.0.7-1build1 all [installed,local]
libaudit1/now 1:3.0.7-1build1 arm64 [installed,local]
libblkid1/now 2.37.2-4ubuntu3 arm64 [installed,local]
libbz2-1.0/now 1.0.8-5build1 arm64 [installed,local]
libc-bin/now 2.35-0ubuntu3.4 arm64 [installed,local]
libc6/now 2.35-0ubuntu3.4 arm64 [installed,local]
libcap-ng0/now 0.7.9-2.2build3 arm64 [installed,local]
libcap2/now 1:2.44-1ubuntu0.22.04.1 arm64 [installed,local]
libcom-err2/now 1.46.5-2ubuntu1.1 arm64 [installed,local]
libcrypt1/now 1:4.4.27-1 arm64 [installed,local]
libdb5.3/now 5.3.28+dfsg1-0.8ubuntu3 arm64 [installed,local]
libdebconfclient0/now 0.261ubuntu1 arm64 [installed,local]
libext2fs2/now 1.46.5-2ubuntu1.1 arm64 [installed,local]
libffi8/now 3.4.2-4 arm64 [installed,local]
libgcc-s1/now 12.3.0-1ubuntu1~22.04 arm64 [installed,local]
libgcrypt20/now 1.9.4-3ubuntu3 arm64 [installed,local]
libgmp10/now 2:6.2.1+dfsg-3ubuntu1 arm64 [installed,local]
libgnutls30/now 3.7.3-4ubuntu1.2 arm64 [installed,local]
libgpg-error0/now 1.43-3 arm64 [installed,local]
libgssapi-krb5-2/now 1.19.2-2ubuntu0.2 arm64 [installed,local]
libhogweed6/now 3.7.3-1build2 arm64 [installed,local]
libidn2-0/now 2.3.2-2build1 arm64 [installed,local]
libk5crypto3/now 1.19.2-2ubuntu0.2 arm64 [installed,local]
libkeyutils1/now 1.6.1-2ubuntu3 arm64 [installed,local]
libkrb5-3/now 1.19.2-2ubuntu0.2 arm64 [installed,local]
libkrb5support0/now 1.19.2-2ubuntu0.2 arm64 [installed,local]
liblz4-1/now 1.9.3-2build2 arm64 [installed,local]
liblzma5/now 5.2.5-2ubuntu1 arm64 [installed,local]
libmount1/now 2.37.2-4ubuntu3 arm64 [installed,local]
libncurses6/now 6.3-2ubuntu0.1 arm64 [installed,local]
libncursesw6/now 6.3-2ubuntu0.1 arm64 [installed,local]
libnettle8/now 3.7.3-1build2 arm64 [installed,local]
libnsl2/now 1.3.0-2build2 arm64 [installed,local]
libp11-kit0/now 0.24.0-6build1 arm64 [installed,local]
libpam-modules-bin/now 1.4.0-11ubuntu2.3 arm64 [installed,local]
libpam-modules/now 1.4.0-11ubuntu2.3 arm64 [installed,local]
libpam-runtime/now 1.4.0-11ubuntu2.3 all [installed,local]
libpam0g/now 1.4.0-11ubuntu2.3 arm64 [installed,local]
libpcre2-8-0/now 10.39-3ubuntu0.1 arm64 [installed,local]
libpcre3/now 2:8.39-13ubuntu0.22.04.1 arm64 [installed,local]
libprocps8/now 2:3.3.17-6ubuntu2 arm64 [installed,local]
libpsl5/now 0.21.0-1.2build2 arm64 [installed,local]
libseccomp2/now 2.5.3-2ubuntu2 arm64 [installed,local]
libselinux1/now 3.3-1build2 arm64 [installed,local]
libsemanage-common/now 3.3-1build2 all [installed,local]
libsemanage2/now 3.3-1build2 arm64 [installed,local]
libsepol2/now 3.3-1build1 arm64 [installed,local]
libsmartcols1/now 2.37.2-4ubuntu3 arm64 [installed,local]
libss2/now 1.46.5-2ubuntu1.1 arm64 [installed,local]
libssl3/now 3.0.2-0ubuntu1.10 arm64 [installed,local]
libstdc++6/now 12.3.0-1ubuntu1~22.04 arm64 [installed,local]
libsystemd0/now 249.11-0ubuntu3.10 arm64 [installed,local]
libtasn1-6/now 4.18.0-4build1 arm64 [installed,local]
libtinfo6/now 6.3-2ubuntu0.1 arm64 [installed,local]
libtirpc-common/now 1.3.2-2ubuntu0.1 all [installed,local]
libtirpc3/now 1.3.2-2ubuntu0.1 arm64 [installed,local]
libudev1/now 249.11-0ubuntu3.10 arm64 [installed,local]
libunistring2/now 1.0-1 arm64 [installed,local]
libuuid1/now 2.37.2-4ubuntu3 arm64 [installed,local]
libxxhash0/now 0.8.1-1 arm64 [installed,local]
libzstd1/now 1.4.8+dfsg-3build1 arm64 [installed,local]
locales/now 2.35-0ubuntu3.4 all [installed,local]
login/now 1:4.8.1-2ubuntu2.1 arm64 [installed,local]
logsave/now 1.46.5-2ubuntu1.1 arm64 [installed,local]
lsb-base/now 11.1.0ubuntu4 all [installed,local]
mawk/now 1.3.4.20200120-3 arm64 [installed,local]
mount/now 2.37.2-4ubuntu3 arm64 [installed,local]
ncurses-base/now 6.3-2ubuntu0.1 all [installed,local]
ncurses-bin/now 6.3-2ubuntu0.1 arm64 [installed,local]
openssl/now 3.0.2-0ubuntu1.10 arm64 [installed,local]
passwd/now 1:4.8.1-2ubuntu2.1 arm64 [installed,local]
perl-base/now 5.34.0-3ubuntu1.2 arm64 [installed,local]
procps/now 2:3.3.17-6ubuntu2 arm64 [installed,local]
sed/now 4.8-1ubuntu2 arm64 [installed,local]
sensible-utils/now 0.0.17 all [installed,local]
sudo/now 1.9.9-1ubuntu2.4 arm64 [installed,local]
sysvinit-utils/now 3.01-1ubuntu1 arm64 [installed,local]
tar/now 1.34+dfsg-1ubuntu0.1.22.04.1 arm64 [installed,local]
tini/now 0.19.0-1 arm64 [installed,local]
ubuntu-keyring/now 2021.03.26 all [installed,local]
usrmerge/now 25ubuntu2 all [installed,local]
util-linux/now 2.37.2-4ubuntu3 arm64 [installed,local]
wget/now 1.21.2-2ubuntu1 arm64 [installed,local]
zlib1g/now 1:1.2.11.dfsg-2ubuntu9.2 arm64 [installed,local]
Clone this wiki locally