Skip to content

Commit 65189aa

Browse files
authored
Merge pull request #3207 from nextcloud/enh/3197/improve-nextcloud
nextcloud - improve healthcheck
2 parents cf41079 + 6f51795 commit 65189aa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/docker-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
sudo apt-get update
3333
sudo apt-get install nodejs npm -y --no-install-recommends
3434
npm install -g dockerfilelint
35-
wget https://github.com/replicatedhq/dockerfilelint/pull/184.patch -O /usr/local/lib/node_modules/dockerfilelint/184.patch
35+
wget https://github.com/replicatedhq/dockerfilelint/pull/201.patch -O /usr/local/lib/node_modules/dockerfilelint/201.patch
3636
CURRENT_DIR=$PWD
3737
cd /usr/local/lib/node_modules/dockerfilelint/
38-
git apply 184.patch
38+
git apply 201.patch
3939
cd $CURRENT_DIR
4040
cat << RULES > ./.dockerfilelintrc
4141
rules:

Containers/nextcloud/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,5 +223,5 @@ USER root
223223
ENTRYPOINT ["/start.sh"]
224224
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
225225

226-
HEALTHCHECK CMD sudo -E -u www-data bash /healthcheck.sh
226+
HEALTHCHECK --start-period=60s CMD sudo -E -u www-data bash /healthcheck.sh
227227
LABEL com.centurylinklabs.watchtower.enable="false"

0 commit comments

Comments
 (0)