„docker.yml“ ändern

This commit is contained in:
olli 2023-04-28 15:09:33 +02:00
parent ceed76dd1b
commit 91f25c2191

View File

@ -113,11 +113,11 @@
then
g_echo_warn "Installiere $docker Update"
docker -l warn compose --no-ansi down >$g_tmp/down 2>&1 || g_echo_error "$docker: docker compose pull fehlgeschlagen: $(cat $g_tmp/down)"
docker -l warn compose --no-ansi up -d >$g_tmp/up 2>&1 || g_echo_error "$docker: docker compose up fehlgeschlagen: $(cat $g_tmp/up)"
docker -l warn compose --no-ansi up -d >$g_tmp/up 2>&1 || g_echo_error "$docker: docker compose up fehlgeschlagen: $(cat $g_tmp/up)"
fi
if [ -f Dockerfile ]
then
if docker -l warn compose --no-ansi build --pull --no-cache --force-rm >$g_tmp/build 2>&1
if docker -l warn compose --no-ansi build --progress=plain --pull --no-cache --force-rm >$g_tmp/build 2>&1
then
docker -l warn compose --no-ansi down >$g_tmp/down 2>&1 || g_echo_error "$docker: docker compose pull fehlgeschlagen: $(cat $g_tmp/down)"
docker -l warn compose --no-ansi up -d >$g_tmp/up 2>&1 || g_echo_error "$docker: docker compose up fehlgeschlagen: $(cat $g_tmp/up)"