File tree 18 files changed +117
-63
lines changed
18 files changed +117
-63
lines changed Original file line number Diff line number Diff line change 1
1
[program:nginx]
2
2
depends_on = octane
3
3
command = nginx -g "daemon off;"
4
+ autorestart = true
4
5
stopasgroup = true
5
6
stderr_logfile = /dev/stderr
6
7
stdout_logfile = /dev/stdout
7
8
8
9
[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
10
12
stopasgroup = true
11
13
stderr_logfile = /dev/stderr
12
14
stdout_logfile = /dev/stdout
Original file line number Diff line number Diff line change 1
1
[program:nginx]
2
2
depends_on = octane
3
3
command = nginx -g "daemon off;"
4
+ autorestart = true
4
5
stopasgroup = true
5
6
stderr_logfile = /dev/stderr
6
7
stdout_logfile = /dev/stdout
7
8
8
9
[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
10
12
stopasgroup = true
11
13
stderr_logfile = /dev/stderr
12
14
stdout_logfile = /dev/stdout
Original file line number Diff line number Diff line change 1
1
FROM kooldev/php:8.0-prod
2
2
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 1
1
FROM kooldev/php:8.0-node
2
2
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 1
1
[program:nginx]
2
2
depends_on = octane
3
3
command = nginx -g "daemon off;"
4
+ autorestart = true
4
5
stopasgroup = true
5
6
stderr_logfile = /dev/stderr
6
7
stdout_logfile = /dev/stdout
7
8
8
9
[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
10
12
stopasgroup = true
11
13
stderr_logfile = /dev/stderr
12
14
stdout_logfile = /dev/stdout
Original file line number Diff line number Diff line change 1
1
[program:nginx]
2
2
depends_on = octane
3
3
command = nginx -g "daemon off;"
4
+ autorestart = true
4
5
stopasgroup = true
5
6
stderr_logfile = /dev/stderr
6
7
stdout_logfile = /dev/stdout
7
8
8
9
[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
10
12
stopasgroup = true
11
13
stderr_logfile = /dev/stderr
12
14
stdout_logfile = /dev/stdout
Original file line number Diff line number Diff line change 1
1
FROM kooldev/php:8.1-prod
2
2
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 1
1
FROM kooldev/php:8.1-node
2
2
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 1
1
[program:nginx]
2
2
depends_on = octane
3
3
command = nginx -g "daemon off;"
4
+ autorestart = true
4
5
stopasgroup = true
5
6
stderr_logfile = /dev/stderr
6
7
stdout_logfile = /dev/stdout
7
8
8
9
[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
10
12
stopasgroup = true
11
13
stderr_logfile = /dev/stderr
12
14
stdout_logfile = /dev/stdout
Original file line number Diff line number Diff line change 1
1
[program:nginx]
2
2
depends_on = octane
3
3
command = nginx -g "daemon off;"
4
+ autorestart = true
4
5
stopasgroup = true
5
6
stderr_logfile = /dev/stderr
6
7
stdout_logfile = /dev/stdout
7
8
8
9
[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
10
12
stopasgroup = true
11
13
stderr_logfile = /dev/stderr
12
14
stdout_logfile = /dev/stdout
Original file line number Diff line number Diff line change 1
1
FROM kooldev/php:8.2-prod
2
2
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 1
1
FROM kooldev/php:8.2-node
2
2
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 1
1
[program:nginx]
2
2
depends_on = octane
3
3
command = nginx -g "daemon off;"
4
+ autorestart = true
4
5
stopasgroup = true
5
6
stderr_logfile = /dev/stderr
6
7
stdout_logfile = /dev/stdout
7
8
8
9
[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
10
12
stopasgroup = true
11
13
stderr_logfile = /dev/stderr
12
14
stdout_logfile = /dev/stdout
Original file line number Diff line number Diff line change 1
1
[program:nginx]
2
2
depends_on = octane
3
3
command = nginx -g "daemon off;"
4
+ autorestart = true
4
5
stopasgroup = true
5
6
stderr_logfile = /dev/stderr
6
7
stdout_logfile = /dev/stdout
7
8
8
9
[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
10
12
stopasgroup = true
11
13
stderr_logfile = /dev/stderr
12
14
stdout_logfile = /dev/stdout
Original file line number Diff line number Diff line change 1
1
FROM kooldev/php:8.3-prod
2
2
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 1
1
FROM kooldev/php:8.3-node
2
2
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 1
1
FROM {{ $from } }
2
2
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 1
1
[program:nginx]
2
2
depends_on = octane
3
3
command = nginx -g "daemon off;"
4
+ autorestart = true
4
5
stopasgroup = true
5
6
stderr_logfile = /dev/stderr
6
7
stdout_logfile = /dev/stdout
7
8
8
9
[program:octane]
9
- command = su-exec kool php artisan octane:start --server=swoole{!! $prod ? ' ' : ' --watch' ! !}
10
+ command = su-exec kool php artisan octane:start{!! $prod ? ' ' : ' --watch' ! !}
11
+ autorestart = true
10
12
stopasgroup = true
11
13
stderr_logfile = /dev/stderr
12
14
stdout_logfile = /dev/stdout
You can’t perform that action at this time.
0 commit comments