Skip to content

Commit ea038a0

Browse files
Add supervisor healthcheck to all dockerfiles
1 parent be49bca commit ea038a0

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

Diff for: Dockerfile-5.6

+3
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ RUN chown -R nobody:nobody /var/cache/nginx/client_temp && \
172172
chown -R nobody:nobody /var/cache/nginx/uwsgi_temp && \
173173
chown -R nobody:nobody /var/cache/nginx/scgi_temp
174174

175+
COPY scripts/supervisor-healthcheck.sh /supervisor-healthcheck.sh
176+
COPY scripts/healthcheck.py /healthcheck.py
177+
175178
RUN apk add --no-cache \
176179
php5 \
177180
php5-common \

Diff for: Dockerfile-7.1

+3
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ RUN chown -R nobody:nobody /var/cache/nginx/client_temp && \
179179
chown -R nobody:nobody /var/cache/nginx/uwsgi_temp && \
180180
chown -R nobody:nobody /var/cache/nginx/scgi_temp
181181

182+
COPY scripts/supervisor-healthcheck.sh /supervisor-healthcheck.sh
183+
COPY scripts/healthcheck.py /healthcheck.py
184+
182185
RUN apk add --no-cache \
183186
php7.1@php \
184187
php7.1-common@php \

Diff for: Dockerfile-7.3

+3
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ RUN chown -R nobody:nobody /var/cache/nginx/client_temp && \
175175
chown -R nobody:nobody /var/cache/nginx/uwsgi_temp && \
176176
chown -R nobody:nobody /var/cache/nginx/scgi_temp
177177

178+
COPY scripts/supervisor-healthcheck.sh /supervisor-healthcheck.sh
179+
COPY scripts/healthcheck.py /healthcheck.py
180+
178181
RUN apk add --no-cache \
179182
php7@php \
180183
php7-common@php \

0 commit comments

Comments
 (0)