FROM<baseimage>#REPOSITORIES=<repo>#TAGS=<tag># Copy pip config and entrypointCOPYentrypoint.sh/
# Setup date and runtime user encapsulationRUNapkadd--no-cachetzdatatinisu-exec\&&cp/usr/share/zoneinfo/Europe/Paris/etc/localtime\&&addgroup-g1000-S<group_name>\&&adduser-u1000-S<user_name>-G<group_name>\&&chmod+x/entrypoint.sh
# Encapsulate execution through tini and python userENTRYPOINT["/sbin/tini","--","/entrypoint.sh"]CMD["<command>"]
if[$#-eq1];then# if `docker run` only has one arguments, we assume user is running alternate command like `bash` or `sh` to inspect the imageexec"$@"else