Added env/ folder to simplify children images; updated Dockerfile to include env/ plus add unzip command

This commit is contained in:
2026-04-24 17:18:04 -05:00
parent 5e2170184c
commit 59e6e3985b
8 changed files with 241 additions and 1 deletions

17
itdominator-base-image/env/.bash_ps1 vendored Normal file
View File

@@ -0,0 +1,17 @@
#sysInfo="$(screenfetch)"
#export PS1="${sysInfo}
function prompt_command() {
_COMMAND="parts = '$(pwd)'.split('/'); print('$(pwd)') if not len(parts) > 3 else print(f'.../{parts[-3]}/{parts[-2]}/{parts[-1]}')"
_PATH=$(python <<< "${_COMMAND}" || pwd)
_BRANCH="$(git rev-parse --symbolic-full-name --abbrev-ref HEAD 2>/dev/null)"
# Week Day/Month/Day : Time -- user@group -- current dir path -- git branch
PS1="\[\e[32m\]\d\[\e[m\]: \[\e[36m\]\@\[\e[m\] -- \[\e[31m\]\u\[\e[m\]@\[\e[31m\]\h\[\e[m\] -- \[\e[35m\]${_PATH}\[\e[m\] -- ${_BRANCH} \\$ "
}
export PROMPT_COMMAND=prompt_command