File tree Expand file tree Collapse file tree 18 files changed +117
-63
lines changed
Expand file tree Collapse file tree 18 files changed +117
-63
lines changed Original file line number Diff line number Diff line change 11[program:nginx]
22depends_on = octane
33command = nginx -g "daemon off;"
4+ autorestart = true
45stopasgroup = true
56stderr_logfile = /dev/stderr
67stdout_logfile = /dev/stdout
78
89[program:octane]
9- command = su-exec kool php artisan octane:start --server=swoole
10+ command = su-exec kool php artisan octane:start
11+ autorestart = true
1012stopasgroup = true
1113stderr_logfile = /dev/stderr
1214stdout_logfile = /dev/stdout
Original file line number Diff line number Diff line change 11[program:nginx]
22depends_on = octane
33command = nginx -g "daemon off;"
4+ autorestart = true
45stopasgroup = true
56stderr_logfile = /dev/stderr
67stdout_logfile = /dev/stdout
78
89[program:octane]
9- command = su-exec kool php artisan octane:start --server=swoole --watch
10+ command = su-exec kool php artisan octane:start --watch
11+ autorestart = true
1012stopasgroup = true
1113stderr_logfile = /dev/stderr
1214stdout_logfile = /dev/stdout
Original file line number Diff line number Diff line change 11FROM kooldev/php:8.0-prod
22
3- RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS && \
4- pecl install swoole && \
5- docker-php-ext-enable swoole && \
6- # cleanup
7- apk del .build-deps && \
8- rm -rf /var/cache/apk/* /tmp/*
3+ COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
4+
5+ RUN install-php-extensions swoole
6+
7+ # RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS && \
8+ # pecl install swoole && \
9+ # docker-php-ext-enable swoole && \
10+ # # cleanup
11+ # apk del .build-deps && \
12+ # rm -rf /var/cache/apk/* /tmp/*
Original file line number Diff line number Diff line change 11FROM kooldev/php:8.0-node
22
3- RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS && \
4- pecl install swoole && \
5- docker-php-ext-enable swoole && \
6- # cleanup
7- apk del .build-deps && \
8- rm -rf /var/cache/apk/* /tmp/*
3+ COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
4+
5+ RUN install-php-extensions swoole
6+
7+ # RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS && \
8+ # pecl install swoole && \
9+ # docker-php-ext-enable swoole && \
10+ # # cleanup
11+ # apk del .build-deps && \
12+ # rm -rf /var/cache/apk/* /tmp/*
Original file line number Diff line number Diff line change 11[program:nginx]
22depends_on = octane
33command = nginx -g "daemon off;"
4+ autorestart = true
45stopasgroup = true
56stderr_logfile = /dev/stderr
67stdout_logfile = /dev/stdout
78
89[program:octane]
9- command = su-exec kool php artisan octane:start --server=swoole
10+ command = su-exec kool php artisan octane:start
11+ autorestart = true
1012stopasgroup = true
1113stderr_logfile = /dev/stderr
1214stdout_logfile = /dev/stdout
Original file line number Diff line number Diff line change 11[program:nginx]
22depends_on = octane
33command = nginx -g "daemon off;"
4+ autorestart = true
45stopasgroup = true
56stderr_logfile = /dev/stderr
67stdout_logfile = /dev/stdout
78
89[program:octane]
9- command = su-exec kool php artisan octane:start --server=swoole --watch
10+ command = su-exec kool php artisan octane:start --watch
11+ autorestart = true
1012stopasgroup = true
1113stderr_logfile = /dev/stderr
1214stdout_logfile = /dev/stdout
Original file line number Diff line number Diff line change 11FROM kooldev/php:8.1-prod
22
3- RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS && \
4- pecl install swoole && \
5- docker-php-ext-enable swoole && \
6- # cleanup
7- apk del .build-deps && \
8- rm -rf /var/cache/apk/* /tmp/*
3+ COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
4+
5+ RUN install-php-extensions swoole
6+
7+ # RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS && \
8+ # pecl install swoole && \
9+ # docker-php-ext-enable swoole && \
10+ # # cleanup
11+ # apk del .build-deps && \
12+ # rm -rf /var/cache/apk/* /tmp/*
Original file line number Diff line number Diff line change 11FROM kooldev/php:8.1-node
22
3- RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS && \
4- pecl install swoole && \
5- docker-php-ext-enable swoole && \
6- # cleanup
7- apk del .build-deps && \
8- rm -rf /var/cache/apk/* /tmp/*
3+ COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
4+
5+ RUN install-php-extensions swoole
6+
7+ # RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS && \
8+ # pecl install swoole && \
9+ # docker-php-ext-enable swoole && \
10+ # # cleanup
11+ # apk del .build-deps && \
12+ # rm -rf /var/cache/apk/* /tmp/*
Original file line number Diff line number Diff line change 11[program:nginx]
22depends_on = octane
33command = nginx -g "daemon off;"
4+ autorestart = true
45stopasgroup = true
56stderr_logfile = /dev/stderr
67stdout_logfile = /dev/stdout
78
89[program:octane]
9- command = su-exec kool php artisan octane:start --server=swoole
10+ command = su-exec kool php artisan octane:start
11+ autorestart = true
1012stopasgroup = true
1113stderr_logfile = /dev/stderr
1214stdout_logfile = /dev/stdout
Original file line number Diff line number Diff line change 11[program:nginx]
22depends_on = octane
33command = nginx -g "daemon off;"
4+ autorestart = true
45stopasgroup = true
56stderr_logfile = /dev/stderr
67stdout_logfile = /dev/stdout
78
89[program:octane]
9- command = su-exec kool php artisan octane:start --server=swoole --watch
10+ command = su-exec kool php artisan octane:start --watch
11+ autorestart = true
1012stopasgroup = true
1113stderr_logfile = /dev/stderr
1214stdout_logfile = /dev/stdout
You can’t perform that action at this time.
0 commit comments