Compare commits
No commits in common. "5aacd6991758938df0986a17eb71b6e96fbd5276" and "e2e118358bbf5cb5f65dd14b8253a11464ce54bb" have entirely different histories.
5aacd69917
...
e2e118358b
2 changed files with 1 additions and 8 deletions
|
@ -23,7 +23,7 @@ FROM nextcloud:29.0.3-apache
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
clamdscan nano ghostscript jq \
|
clamdscan nano ghostscript \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -17,13 +17,6 @@ cd "$WORKDIR" || exit 1
|
||||||
|
|
||||||
echo "GX:BEFORE-STARTING:START ($(pwd))"
|
echo "GX:BEFORE-STARTING:START ($(pwd))"
|
||||||
# find . -maxdepth 1
|
# find . -maxdepth 1
|
||||||
echo "GX:BEFORE-STARTING:STATUS"
|
|
||||||
INSTALLED="$(php -d memory_limit=-1 occ status |jq -r '.installed')"
|
|
||||||
if [ "$INSTALLED" != "true" ]; then
|
|
||||||
echo "WARNING: Not installed yet. Exiting."
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "GX:BEFORE-STARTING:UPGRADE"
|
echo "GX:BEFORE-STARTING:UPGRADE"
|
||||||
php -d memory_limit=-1 occ upgrade
|
php -d memory_limit=-1 occ upgrade
|
||||||
echo "GX:BEFORE-STARTING:DB"
|
echo "GX:BEFORE-STARTING:DB"
|
||||||
|
|
Loading…
Reference in a new issue