remove docker pruning

This commit is contained in:
2025-12-18 14:50:41 -06:00
parent 65fb35877e
commit ff7921c45d
2 changed files with 3 additions and 12 deletions

View File

@@ -205,9 +205,6 @@ docker_build_image() {
-f "${dockerfile}" \ -f "${dockerfile}" \
"${DOCKER_DIR}" || return 1 "${DOCKER_DIR}" || return 1
fi fi
# FIXME uncomment
# docker system prune -f
} }
FB_FUNC_NAMES+=('docker_save_image') FB_FUNC_NAMES+=('docker_save_image')
@@ -272,11 +269,7 @@ docker_run_image() {
"${DOCKER_RUN_FLAGS[@]}" \ "${DOCKER_RUN_FLAGS[@]}" \
-u "$(id -u):$(id -g)" \ -u "$(id -u):$(id -g)" \
"${image_tag}" \ "${image_tag}" \
"${runCmd[@]}" || return 1 "${runCmd[@]}"
docker system prune -f
return 0
} }
FB_FUNC_NAMES+=('build_with_docker') FB_FUNC_NAMES+=('build_with_docker')

View File

@@ -347,12 +347,10 @@ spinner() {
local spinPidFile="${TMP_DIR}/.spinner-pid" local spinPidFile="${TMP_DIR}/.spinner-pid"
case "${action}" in case "${action}" in
start) start)
test -f "${spinPidFile}" && test -f "${spinPidFile}" && rm "${spinPidFile}"
rm "${spinPidFile}"
# don't want to clutter logs if running headless # don't want to clutter logs if running headless
test "${HEADLESS}" == '1' && test "${HEADLESS}" == '1' && return
return
_start_spinner & _start_spinner &
echo $! >"${spinPidFile}" echo $! >"${spinPidFile}"