mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
Let's update everything!
Fixes https://github.com/nextcloud/vm/issues/312
This commit is contained in:
parent
e2e0d478dc
commit
5744cd90c9
@ -41,18 +41,19 @@ then
|
||||
fi
|
||||
|
||||
# Update docker images
|
||||
# This updates ALL Docker images: docker images | grep -v REPOSITORY | awk '{print $1}' | xargs -L1 docker pull
|
||||
if [ "$(docker image inspect onlyoffice/documentserver >/dev/null 2>&1 && echo yes || echo no)" == "yes" ]
|
||||
then
|
||||
echo "Updating Docker container for OnlyOffice..."
|
||||
docker pull onlyoffice/documentserver
|
||||
fi
|
||||
|
||||
if [ "$(docker image inspect collabora/code >/dev/null 2>&1 && echo yes || echo no)" == "yes" ]
|
||||
then
|
||||
echo "Updating Docker container for Collabora..."
|
||||
docker pull collabora/code
|
||||
fi
|
||||
# This updates ALL Docker images:
|
||||
docker images | grep -v REPOSITORY | awk '{print $1}' | xargs -L1 docker pull
|
||||
#if [ "$(docker image inspect onlyoffice/documentserver >/dev/null 2>&1 && echo yes || echo no)" == "yes" ]
|
||||
#then
|
||||
# echo "Updating Docker container for OnlyOffice..."
|
||||
# docker pull onlyoffice/documentserver
|
||||
#fi
|
||||
#
|
||||
#if [ "$(docker image inspect collabora/code >/dev/null 2>&1 && echo yes || echo no)" == "yes" ]
|
||||
#then
|
||||
# echo "Updating Docker container for Collabora..."
|
||||
# docker pull collabora/code
|
||||
#fi
|
||||
|
||||
# Cleanup un-used packages
|
||||
apt autoremove -y
|
||||
|
||||
Loading…
Reference in New Issue
Block a user