Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

List Repositories of a GitHub Organization Using REST API

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

import getpass
import json
import requests
from github_rest_api import Organization, RepositoryType
token = getpass.getpass()
 ········
org = Organization(token=token, owner="legendu-net")
repos = org.get_repositories()
len(repos)
83
repos_pub = org.get_repositories(type_=RepositoryType.PUBLIC)
len(repos_pub)
81
print(json.dumps(repos[0], indent=4))
{
    "id": 85455764,
    "node_id": "MDEwOlJlcG9zaXRvcnk4NTQ1NTc2NA==",
    "name": "docker-rstudio",
    "full_name": "legendu-net/docker-rstudio",
    "private": false,
    "owner": {
        "login": "legendu-net",
        "id": 104755004,
        "node_id": "O_kgDOBj5vPA",
        "avatar_url": "https://avatars.githubusercontent.com/u/104755004?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/legendu-net",
        "html_url": "https://github.com/legendu-net",
        "followers_url": "https://api.github.com/users/legendu-net/followers",
        "following_url": "https://api.github.com/users/legendu-net/following{/other_user}",
        "gists_url": "https://api.github.com/users/legendu-net/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/legendu-net/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/legendu-net/subscriptions",
        "organizations_url": "https://api.github.com/users/legendu-net/orgs",
        "repos_url": "https://api.github.com/users/legendu-net/repos",
        "events_url": "https://api.github.com/users/legendu-net/events{/privacy}",
        "received_events_url": "https://api.github.com/users/legendu-net/received_events",
        "type": "Organization",
        "user_view_type": "public",
        "site_admin": false
    },
    "html_url": "https://github.com/legendu-net/docker-rstudio",
    "description": null,
    "fork": false,
    "url": "https://api.github.com/repos/legendu-net/docker-rstudio",
    "forks_url": "https://api.github.com/repos/legendu-net/docker-rstudio/forks",
    "keys_url": "https://api.github.com/repos/legendu-net/docker-rstudio/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/legendu-net/docker-rstudio/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/legendu-net/docker-rstudio/teams",
    "hooks_url": "https://api.github.com/repos/legendu-net/docker-rstudio/hooks",
    "issue_events_url": "https://api.github.com/repos/legendu-net/docker-rstudio/issues/events{/number}",
    "events_url": "https://api.github.com/repos/legendu-net/docker-rstudio/events",
    "assignees_url": "https://api.github.com/repos/legendu-net/docker-rstudio/assignees{/user}",
    "branches_url": "https://api.github.com/repos/legendu-net/docker-rstudio/branches{/branch}",
    "tags_url": "https://api.github.com/repos/legendu-net/docker-rstudio/tags",
    "blobs_url": "https://api.github.com/repos/legendu-net/docker-rstudio/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/legendu-net/docker-rstudio/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/legendu-net/docker-rstudio/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/legendu-net/docker-rstudio/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/legendu-net/docker-rstudio/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/legendu-net/docker-rstudio/languages",
    "stargazers_url": "https://api.github.com/repos/legendu-net/docker-rstudio/stargazers",
    "contributors_url": "https://api.github.com/repos/legendu-net/docker-rstudio/contributors",
    "subscribers_url": "https://api.github.com/repos/legendu-net/docker-rstudio/subscribers",
    "subscription_url": "https://api.github.com/repos/legendu-net/docker-rstudio/subscription",
    "commits_url": "https://api.github.com/repos/legendu-net/docker-rstudio/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/legendu-net/docker-rstudio/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/legendu-net/docker-rstudio/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/legendu-net/docker-rstudio/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/legendu-net/docker-rstudio/contents/{+path}",
    "compare_url": "https://api.github.com/repos/legendu-net/docker-rstudio/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/legendu-net/docker-rstudio/merges",
    "archive_url": "https://api.github.com/repos/legendu-net/docker-rstudio/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/legendu-net/docker-rstudio/downloads",
    "issues_url": "https://api.github.com/repos/legendu-net/docker-rstudio/issues{/number}",
    "pulls_url": "https://api.github.com/repos/legendu-net/docker-rstudio/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/legendu-net/docker-rstudio/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/legendu-net/docker-rstudio/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/legendu-net/docker-rstudio/labels{/name}",
    "releases_url": "https://api.github.com/repos/legendu-net/docker-rstudio/releases{/id}",
    "deployments_url": "https://api.github.com/repos/legendu-net/docker-rstudio/deployments",
    "created_at": "2017-03-19T06:29:43Z",
    "updated_at": "2025-12-29T05:08:53Z",
    "pushed_at": "2025-12-29T05:08:49Z",
    "git_url": "git://github.com/legendu-net/docker-rstudio.git",
    "ssh_url": "git@github.com:legendu-net/docker-rstudio.git",
    "clone_url": "https://github.com/legendu-net/docker-rstudio.git",
    "svn_url": "https://github.com/legendu-net/docker-rstudio",
    "homepage": null,
    "size": 27,
    "stargazers_count": 1,
    "watchers_count": 1,
    "language": "Dockerfile",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": false,
    "has_discussions": false,
    "forks_count": 0,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 1,
    "license": {
        "key": "mit",
        "name": "MIT License",
        "spdx_id": "MIT",
        "url": "https://api.github.com/licenses/mit",
        "node_id": "MDc6TGljZW5zZTEz"
    },
    "allow_forking": true,
    "is_template": false,
    "web_commit_signoff_required": false,
    "topics": [],
    "visibility": "public",
    "forks": 0,
    "open_issues": 1,
    "watchers": 1,
    "default_branch": "main",
    "permissions": {
        "admin": true,
        "maintain": true,
        "push": true,
        "triage": true,
        "pull": true
    },
    "security_and_analysis": {
        "secret_scanning": {
            "status": "disabled"
        },
        "secret_scanning_push_protection": {
            "status": "disabled"
        },
        "dependabot_security_updates": {
            "status": "enabled"
        },
        "secret_scanning_non_provider_patterns": {
            "status": "disabled"
        },
        "secret_scanning_validity_checks": {
            "status": "disabled"
        }
    },
    "custom_properties": {}
}
repos_docker = [repo for repo in repos if repo["name"].startswith("docker-")]
len(repos_docker)
63
for repo in repos_docker:
    !git clone {repo["ssh_url"]}
for path in Path().glob("docker-*"):
    !cd {path} && git diff
diff --git a/Dockerfile b/Dockerfile
index d67f02c..9ece107 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,10 @@
 FROM dclong/r-pop
 
-RUN apt-get update \
-    && apt-get install -y --no-install-recommends wget \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends wget \
     && rstudio_version=$(wget --no-check-certificate -qO- https://s3.amazonaws.com/rstudio-server/current.ver) \
     && wget https://download2.rstudio.org/rstudio-server-${rstudio_version}-amd64.deb -O /rstudio-server.deb \
-    && apt-get install -y --no-install-recommends /rstudio-server.deb \
+    && apt-get -y install --no-install-recommends /rstudio-server.deb \
     && rm /rstudio-server.deb 
 
 EXPOSE 8787
diff --git a/Dockerfile b/Dockerfile
index 985c50b..ea0151a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,8 +3,8 @@ FROM dclong/base
 # GIT: https://github.com/legendu-net/docker-base.git
 
 # locale
-RUN apt-get update \
-    # && DEBIAN_FRONTEND=noninteractive apt-get install -y locales \
+RUN apt-get -y update \
+    # && DEBIAN_FRONTEND=noninteractive apt-get -y install locales \
     && locale-gen zh_CN.UTF-8 \
     && apt-get autoremove \
     && apt-get autoclean
diff --git a/Dockerfile b/Dockerfile
index f8eadd4..9546311 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 FROM dclong/jupyterhub
 
-RUN apt-get update \
-    && apt-get install -y --no-install-recommends \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends \
         r-base-dev \
     && apt-get autoremove \
     && apt-get autoclean
@@ -9,8 +9,8 @@ RUN apt-get update \
 ADD settings/Renviron.site /etc/R/Renviron.site
 
 # install R package dependencies
-RUN apt-get update \
-    && apt-get install -y --no-install-recommends \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends \
         libxml2-dev \
         libcairo2-dev \
         libssl-dev \
diff --git a/Dockerfile b/Dockerfile
index b596a1c..ac2b43d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,8 +3,8 @@ FROM dclong/base
 # GIT: https://github.com/legendu-net/docker-base.git
 
 RUN DEBIAN_FRONTEND=noninteractive \
-    && apt-get update \
-    && apt-get install -y \
+    && apt-get -y update \
+    && apt-get -y install \
         r-base-dev \
     && apt-get autoremove \
     && apt-get autoclean
diff --git a/Dockerfile b/Dockerfile
index 5d6420b..c3f524e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 FROM dclong/r-base
 
-RUN apt-get update \
-    && apt-get install -y --no-install-recommends \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends \
         libxml2-dev \
         libcairo2-dev \
         libssl-dev \
diff --git a/Dockerfile b/Dockerfile
index 151f97f..9e30f98 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,8 @@
 FROM dclong/jupyterhub-rb
 
 # install popular R packages
-RUN apt-get update \
-    && apt-get install -y --no-install-recommends \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends \
         libxml2-dev \
         libcairo2-dev \
         libssl-dev \
diff --git a/Dockerfile b/Dockerfile
index a3c2463..68b646d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,8 +5,8 @@ ARG spark_hdp=$spark-bin-hadoop2.7
 ARG mirror=http://us.mirrors.quenda.co/apache/spark/
 ENV SPARK_HOME=/opt/$spark_hdp
 
-RUN apt-get update \
-    && apt-get install -y scala \
+RUN apt-get -y update \
+    && apt-get -y install scala \
     && curl $mirror/$spark/$spark_hdp.tgz -o /$spark_hdp.tgz \
     && tar -zxvf /$spark_hdp.tgz -C /opt/ \
     && ln -svf $SPARK_HOME /opt/spark \
diff --git a/Dockerfile b/Dockerfile
index 6fe4968..932f1fd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,8 +2,8 @@
 FROM dclong/base
 # GIT: https://github.com/legendu-net/docker-base.git
 
-RUN apt-get update -y \
-    && apt-get install -y \
+RUN apt-get -y update \
+    && apt-get -y install \
         openjdk-11-jdk maven gradle \
     && apt-get autoremove \
     && apt-get autoclean 
diff --git a/Dockerfile b/Dockerfile
index 278767c..0d877b3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 FROM dclong/jdk
 
-RUN apt-get update -y \
-    && apt-get install -y \
+RUN apt-get -y update \
+    && apt-get -y install \
         scala \
     && apt-get autoremove \
     && apt-get autoclean 
diff --git a/Dockerfile b/Dockerfile
index a34ed6e..98510e6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 FROM dclong/python
 
-RUN apt-get update -y \
-    && apt-get install -y \
+RUN apt-get -y update \
+    && apt-get -y install \
         qt5-default libqt5webkit5-dev build-essential xvfb \
     && apt-get autoremove \
     && apt-get autoclean 
diff --git a/Dockerfile b/Dockerfile
index fca572b..4d9eea8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,8 +2,8 @@
 FROM dclong/base
 # GIT: https://github.com/legendu-net/docker-base.git
 
-RUN apt-get update \
-    && apt-get install -y --no-install-recommends \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends \
         nodejs npm \
     && npm install -g n \
     && n lts \
diff --git a/Dockerfile b/Dockerfile
index 643da02..7fbdbec 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,8 +2,8 @@
 FROM dclong/jupyterhub-more
 # GIT: https://github.com/legendu-net/docker-jupyterhub-more.git
 
-RUN apt-get update -y \
-    && apt-get install -y --no-install-recommends \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends \
         cron wamerican \
         proxychains wget git-lfs \
         highlight \
diff --git a/Dockerfile b/Dockerfile
index 7a82b58..49043de 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 FROM dclong/xubuntu
 
-RUN apt-get update -y \
-    && apt-get install -y \
+RUN apt-get -y update \
+    && apt-get -y install \
         python3 python3-pip \
         python3-all-dev python3-setuptools build-essential python3-wheel \
         python python-pip \
diff --git a/Dockerfile b/Dockerfile
index ca7fab1..302b5e0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,8 +2,8 @@
 FROM dclong/base
 # GIT: https://github.com/legendu-net/docker-base.git
 
-RUN apt-get update \
-    && apt-get install -y --no-install-recommends samba \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends samba \
     && service smbd stop \
     && mkdir /smbshare
 
diff --git a/Dockerfile b/Dockerfile
index 3be2aa7..e1915c2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,8 +4,8 @@ FROM dclong/base
 
 ENV PATH=/opt/conda/bin:$PATH
 
-RUN apt-get update \
-    && apt-get install -y --no-install-recommends \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends \
         gcc \
     && /scripts/sys/purge_cache.sh
       
diff --git a/Dockerfile b/Dockerfile
index 6e32937..c3f30d5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@ FROM dclong/conda
 
 RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
     && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
-    && apt-get update \
-    && apt-get install -y yarn \
+    && apt-get -y update \
+    && apt-get -y install yarn \
     && apt-get autoremove \
     && apt-get autoclean
diff --git a/Dockerfile b/Dockerfile
index ab3bdab..01ade8d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,8 +2,8 @@
 FROM dclong/jupyterhub
 # GIT: https://github.com/legendu-net/docker-jupyterhub.git
 
-RUN apt-get update -y \
-    && apt-get install -y --no-install-recommends \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends \
         openjdk-21-jdk maven gradle \
     && /scripts/sys/purge_cache.sh
 
diff --git a/Dockerfile b/Dockerfile
index 965cc6a..eb4a8bd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 FROM dclong/jupyterhub-jdk
 
-RUN apt-get update -y \
-    && apt-get install -y antlr4 \
+RUN apt-get -y update \
+    && apt-get -y install antlr4 \
     && apt-get autoremove \
     && apt-get autoclean 
 
diff --git a/Dockerfile b/Dockerfile
index 21e62cb..8a290c7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 FROM dclong/python
 
-RUN apt-get update -y \
-    && apt-get install -y \
+RUN apt-get -y update \
+    && apt-get -y install \
         openjdk-11-jdk maven gradle \
     && apt-get autoremove \
     && apt-get autoclean 
diff --git a/Dockerfile b/Dockerfile
index 774e520..759e6c2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,8 +2,8 @@
 FROM dclong/base
 # GIT: https://github.com/legendu-net/docker-base.git
 
-RUN apt-get update \
-    && apt-get install -y nfs-kernel-server \
+RUN apt-get -y update \
+    && apt-get -y install nfs-kernel-server \
     && apt-get autoremove \
     && apt-get autoclean
 
diff --git a/Dockerfile b/Dockerfile
index e6d78ad..388708b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,8 +2,8 @@
 FROM dclong/python
 # GIT: https://github.com/legendu-net/docker-python.git
 
-RUN apt-get update \
-    && apt-get install -y --no-install-recommends \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends \
         nodejs npm \
     && npm install -g n \
     && n lts \
diff --git a/Dockerfile b/Dockerfile
index 8411a88..2e4f2d1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,4 +2,4 @@
 FROM dclong/jupyterhub
 # GIT: https://github.com/legendu-net/docker-jupyterhub.git
 
-RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y sagemath-jupyter
+RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install sagemath-jupyter
diff --git a/Dockerfile b/Dockerfile
index af56ff8..2a9b9ef 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,8 +5,8 @@ ARG version=6.9.2_1
 ARG ver=6.9
 ARG url=https://download.nomachine.com/download/${ver}/Linux/nomachine_${version}_amd64.deb
 
-RUN apt-get update \
-    && DEBIAN_FRONTEND=noninteractive apt-get install -y \
+RUN apt-get -y update \
+    && DEBIAN_FRONTEND=noninteractive apt-get -y install \
         lxqt \
         firefox \
     && curl -sSL $url -o /nomachine.deb \
diff --git a/Dockerfile b/Dockerfile
index 82db348..131a4e5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@ FROM dclong/lubuntu
 
 RUN add-apt-repository ppa:cwchien/gradle 
 
-RUN apt-get update -y \
-    && apt-get install -y openjdk-8-jdk maven gradle \
+RUN apt-get -y update \
+    && apt-get -y install openjdk-8-jdk maven gradle \
     && apt-get autoremove \
     && apt-get autoclean
diff --git a/Dockerfile b/Dockerfile
index 5b5d238..dbda59a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,8 +2,8 @@
 FROM dclong/jupyterhub
 # GIT: https://github.com/legendu-net/docker-jupyterhub.git
 
-RUN apt-get update \
-    && apt-get install -y julia \
+RUN apt-get -y update \
+    && apt-get -y install julia \
     && /scripts/sys/purge_cache.sh
 
 # install IJulia  
diff --git a/Dockerfile b/Dockerfile
index faf6e06..98e442f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,20 +1,20 @@
 FROM bestwu/deepin:panda
 
 RUN echo "deb http://mirrors.kernel.org/deepin/  panda main non-free contrib" > /etc/apt/sources.list \
-    && apt-get update && apt-mark \
+    && apt-get -y update && apt-mark \
         hold iptables \
-    && apt-get install -y apt-utils wget \
+    && apt-get -y install apt-utils wget \
     && apt-get dist-upgrade -y \
     && apt-get autoremove -y \
     && apt-get autoclean
 
 # language and fonts
 ENV LANG en_US.utf8
-RUN apt-get install -y locales-all fonts-arphic-uming
+RUN apt-get -y install locales-all fonts-arphic-uming
 
 ARG url=https://download.nomachine.com/download/6.5/Linux/nomachine_6.5.6_9_amd64.deb
 RUN DEBIAN_FRONTEND=noninteractive \
-    && apt-get install -y --no-install-recommends \
+    && apt-get -y install --no-install-recommends \
         dbus-x11 procps psmisc \
         at-spi2-core dconf-cli dconf-editor \
         gnome-themes-standard gtk2-engines-murrine gtk2-engines-pixbuf \
diff --git a/Dockerfile b/Dockerfile
index 1eb5023..df95c46 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 FROM bestwu/deepin:panda
 
-RUN apt-get update -y \
-    && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
+RUN apt-get -y update \
+    && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \
         sudo \
         wajig software-properties-common apt-transport-https \
         tzdata locales lsb-release \
diff --git a/Dockerfile b/Dockerfile
index 24047dd..59c0312 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,9 +1,9 @@
 FROM dclong/deepin_b
 
 # locale
-RUN apt-get update \
-    && apt-get install -y --no-install-recommends fonts-arphic-uming \
-    # && DEBIAN_FRONTEND=noninteractive apt-get install -y locales \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends fonts-arphic-uming \
+    # && DEBIAN_FRONTEND=noninteractive apt-get -y install locales \
     && locale-gen zh_CN.UTF-8 \
     && apt-get autoremove \
     && apt-get autoclean
diff --git a/Dockerfile b/Dockerfile
index df5f353..f220bf5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,8 +2,8 @@ FROM dclong/deepin_cn
 
 ARG url=https://download.nomachine.com/download/6.5/Linux/nomachine_6.5.6_9_amd64.deb
 
-RUN apt-get update \
-    && DEBIAN_FRONTEND=noninteractive apt-get install -y \
+RUN apt-get -y update \
+    && DEBIAN_FRONTEND=noninteractive apt-get -y install \
         dde \
         firefox \
     && wget $url -O /nomachine.deb \
diff --git a/Dockerfile b/Dockerfile
index 37fb7a4..477a51f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 FROM dclong/lubuntu-qt5
 
-RUN apt-get update -y \
-    && apt-get install -y \
+RUN apt-get -y update \
+    && apt-get -y install \
         python3 python3-pip python3-venv \
         python3-all-dev python3-setuptools build-essential python3-wheel \
     && pip3 install --upgrade pip \
diff --git a/Dockerfile b/Dockerfile
index 8f76c1d..ff840d9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,8 +6,8 @@ FROM dclong/jupyterhub
 
 ARG GECKODRIVER_VERSION=0.25.0
 ARG URL=https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER_VERSION/geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz
-RUN apt-get update -y \
-    && apt-get install -y xvfb firefox \
+RUN apt-get -y update \
+    && apt-get -y install xvfb firefox \
     && curl -L $URL -o /tmp/geckodriver.tar.gz \
     && tar -C /opt -zxf /tmp/geckodriver.tar.gz \
     && rm /tmp/geckodriver.tar.gz \
diff --git a/Dockerfile b/Dockerfile
index d054ba3..1b09088 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,7 @@ FROM dclong/jupyterhub
 
 RUN curl -s -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
     && echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
-    && apt-get update -y \
+    && apt-get -y update \
     && apt-get -y install xvfb google-chrome-stable unzip
 
 RUN CHROME_MAJOR_VERSION=$(google-chrome --version | sed -E "s/.* ([0-9]+)(\.[0-9]+){3}.*/\1/") \
diff --git a/Dockerfile b/Dockerfile
index 2f299d3..13bf469 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,7 +7,7 @@ RUN pip3 install -U --break-system-packages \
         aiutil github-rest-api \
     && /scripts/sys/purge_cache.sh 
 # && code-server --install-extension vscjava.vscode-java-pack \
-RUN apt-get update && apt-get install -y valgrind \
+RUN apt-get -y update && apt-get -y install valgrind \
     && icon from_github -r cdr/code-server -v ">=4.99.0,<4.105.0" -k amd64.deb -o /tmp/code.deb \
     && dpkg -i /tmp/code.deb \
     #&& code-server --install-extension vscodevim.vim@1.27.2 \
diff --git a/Dockerfile b/Dockerfile
index e03782b..6a17962 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,8 +5,8 @@ FROM dclong/jupyterhub
 ARG repo=https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64
 ARG repo_ml=https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64
 #@Qustion: Do we really need gnupg2 here?
-RUN apt-get update \
-    && apt-get install -y --no-install-recommends \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends \
         gnupg2 \
     && apt-key adv --fetch-keys $repo/3bf863cc.pub \
     && apt-key adv --fetch-keys $repo/7fa2af80.pub \
@@ -15,8 +15,8 @@ RUN apt-get update \
     && /scripts/sys/purge_cache.sh
 
 # For libraries in the cuda-compat-* package: https://docs.nvidia.com/cuda/eula/index.html#attachment-a
-RUN apt-get update \
-    && apt-get install -y --no-install-recommends \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends \
         cuda-cudart-11-1=11.1.74-1 \
         cuda-compat-11-1 \
     && /scripts/sys/purge_cache.sh
diff --git a/Dockerfile b/Dockerfile
index c1a56a5..a5cd1a4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,8 +2,8 @@
 FROM dclong/jupyterhub-cuda
 # GIT: https://github.com/legendu-net/docker-jupyterhub-cuda.git
 
-RUN apt-get update \
-    && apt-get install -y --no-install-recommends \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends \
         cuda-libraries-11-1=11.1.1-1 \
         libnpp-11-1=11.1.2.301-1 \
         cuda-nvtx-11-1=11.1.74-1 \
diff --git a/Dockerfile b/Dockerfile
index 5a28f3c..f1bb4f2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,8 +2,8 @@
 FROM dclong/base
 # GIT: https://github.com/legendu-net/docker-base.git
 
-RUN apt-get update -y \
-    && apt-get install -y --no-install-recommends \
+RUN apt-get -y update \
+    && apt-get -y install --no-install-recommends \
         pkg-config libssl-dev cmake gcc g++ build-essential \
     && /scripts/sys/purge_cache.sh
 
diff --git a/Dockerfile b/Dockerfile
index 424b05e..0ded199 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,7 +7,7 @@ RUN icon download_github_release -r indygreg/python-build-standalone \
         -k 3.10,x86_64-,unknown,linux,gnu,pgo,lto,full,tar,zst \
         -K debug,sha256 \
         -o /tmp/cpython.tar.zst \
-    && apt-get update && apt-get install -y --no-install-recommends \
+    && apt-get -y update && apt-get -y install --no-install-recommends \
         zstd \
     && tar -I zstd -xvf /tmp/cpython.tar.zst -C /tmp/ \
     && mv /tmp/python/install /opt/python \
diff --git a/Dockerfile b/Dockerfile
index 7b75103..a858caa 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 # NAME: dclong/rust-cicd
 FROM ubuntu:24.04
 
-RUN apt-get update && apt-get install -y --no-install-recommends \
+RUN apt-get -y update && apt-get -y install --no-install-recommends \
         software-properties-common git \
         python3 python3-pip \
         gcc libc-dev \