File tree Expand file tree Collapse file tree 6 files changed +26
-27
lines changed Expand file tree Collapse file tree 6 files changed +26
-27
lines changed Original file line number Diff line number Diff line change @@ -294,12 +294,12 @@ RUN sed -i 's#/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin#/usr/
294
294
295
295
ENV IMAGE_VARIANT=apache
296
296
297
- # Add Tini (to be able to stop the container with ctrl-c).
298
- # See: https://github.com/krallin/tini
299
- # FIX https://github.com/krallin/tini/pull/67
300
- ENV TINI_VERSION v0.19.0
301
- ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH} /tini
302
- RUN chmod +x /tini
297
+ ## Add Tini (to be able to stop the container with ctrl-c).
298
+ ## See: https://github.com/krallin/tini
299
+ ## FIX https://github.com/krallin/tini/pull/67
300
+ # ENV TINI_VERSION v0.19.0
301
+ # ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH} /tini
302
+ # RUN chmod +x /tini
303
303
304
304
COPY utils/generate_cron.php /usr/local/bin/generate_cron.php
305
305
COPY utils/startup_commands.php /usr/local/bin/startup_commands.php
Original file line number Diff line number Diff line change @@ -220,12 +220,12 @@ RUN sed -i 's#/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin#/usr/
220
220
221
221
ENV IMAGE_VARIANT=cli
222
222
223
- # Add Tini (to be able to stop the container with ctrl-c).
224
- # See: https://github.com/krallin/tini
225
- # FIX https://github.com/krallin/tini/pull/67
226
- ENV TINI_VERSION v0.19.0
227
- ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH} /tini
228
- RUN chmod +x /tini
223
+ ## Add Tini (to be able to stop the container with ctrl-c).
224
+ ## See: https://github.com/krallin/tini
225
+ ## FIX https://github.com/krallin/tini/pull/67
226
+ # ENV TINI_VERSION v0.19.0
227
+ # ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH} /tini
228
+ # RUN chmod +x /tini
229
229
230
230
COPY utils/generate_cron.php /usr/local/bin/generate_cron.php
231
231
COPY utils/startup_commands.php /usr/local/bin/startup_commands.php
Original file line number Diff line number Diff line change @@ -233,12 +233,12 @@ RUN sed -i 's#/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin#/usr/
233
233
234
234
ENV IMAGE_VARIANT=fpm
235
235
236
- # Add Tini (to be able to stop the container with ctrl-c).
237
- # See: https://github.com/krallin/tini
238
- # FIX https://github.com/krallin/tini/pull/67
239
- ENV TINI_VERSION v0.19.0
240
- ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH} /tini
241
- RUN chmod +x /tini
236
+ ## Add Tini (to be able to stop the container with ctrl-c).
237
+ ## See: https://github.com/krallin/tini
238
+ ## FIX https://github.com/krallin/tini/pull/67
239
+ # ENV TINI_VERSION v0.19.0
240
+ # ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH} /tini
241
+ # RUN chmod +x /tini
242
242
243
243
COPY utils/generate_cron.php /usr/local/bin/generate_cron.php
244
244
COPY utils/startup_commands.php /usr/local/bin/startup_commands.php
Original file line number Diff line number Diff line change @@ -309,12 +309,12 @@ RUN sed -i 's#/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin#/usr/
309
309
310
310
ENV IMAGE_VARIANT={{ .Orbit.variant }}
311
311
312
- # Add Tini (to be able to stop the container with ctrl-c).
313
- # See: https://github.com/krallin/tini
314
- # FIX https://github.com/krallin/tini/pull/67
315
- ENV TINI_VERSION v0.19.0
316
- ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH} /tini
317
- RUN chmod +x /tini
312
+ ## Add Tini (to be able to stop the container with ctrl-c).
313
+ ## See: https://github.com/krallin/tini
314
+ ## FIX https://github.com/krallin/tini/pull/67
315
+ # ENV TINI_VERSION v0.19.0
316
+ # ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH} /tini
317
+ # RUN chmod +x /tini
318
318
319
319
COPY utils/generate_cron.php /usr/local/bin/generate_cron.php
320
320
COPY utils/startup_commands.php /usr/local/bin/startup_commands.php
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
- exec " sudo" " -E" " /tini" " -g" " -s" " --" " /usr/local/bin/docker-entrypoint-as-root.sh" " $@ " ;
5
+ # exec "sudo" "-E" "/tini" "-g" "-s" "--" "/usr/local/bin/docker-entrypoint-as-root.sh" "$@";
6
+ exec " sudo" " -E" " /usr/local/bin/docker-entrypoint-as-root.sh" " $@ " ;
Original file line number Diff line number Diff line change 4
4
* The script is run on each start of the container.
5
5
*/
6
6
7
- $ tiniPid = $ argv [1 ];
8
-
9
7
$ found = false ;
10
8
11
9
foreach ($ _SERVER as $ key => $ command ) {
You can’t perform that action at this time.
0 commit comments