mirror of
https://github.com/levogevo/ffmpeg-builder.git
synced 2026-01-15 10:56:17 +00:00
remove docker pruning
This commit is contained in:
@@ -205,9 +205,6 @@ docker_build_image() {
|
||||
-f "${dockerfile}" \
|
||||
"${DOCKER_DIR}" || return 1
|
||||
fi
|
||||
|
||||
# FIXME uncomment
|
||||
# docker system prune -f
|
||||
}
|
||||
|
||||
FB_FUNC_NAMES+=('docker_save_image')
|
||||
@@ -272,11 +269,7 @@ docker_run_image() {
|
||||
"${DOCKER_RUN_FLAGS[@]}" \
|
||||
-u "$(id -u):$(id -g)" \
|
||||
"${image_tag}" \
|
||||
"${runCmd[@]}" || return 1
|
||||
|
||||
docker system prune -f
|
||||
|
||||
return 0
|
||||
"${runCmd[@]}"
|
||||
}
|
||||
|
||||
FB_FUNC_NAMES+=('build_with_docker')
|
||||
|
||||
@@ -347,12 +347,10 @@ spinner() {
|
||||
local spinPidFile="${TMP_DIR}/.spinner-pid"
|
||||
case "${action}" in
|
||||
start)
|
||||
test -f "${spinPidFile}" &&
|
||||
rm "${spinPidFile}"
|
||||
test -f "${spinPidFile}" && rm "${spinPidFile}"
|
||||
|
||||
# don't want to clutter logs if running headless
|
||||
test "${HEADLESS}" == '1' &&
|
||||
return
|
||||
test "${HEADLESS}" == '1' && return
|
||||
|
||||
_start_spinner &
|
||||
echo $! >"${spinPidFile}"
|
||||
|
||||
Reference in New Issue
Block a user