diff --git a/8.0-nginx-swoole-prod/Dockerfile b/8.0-nginx-swoole-prod/Dockerfile deleted file mode 100644 index 48487b0..0000000 --- a/8.0-nginx-swoole-prod/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM kooldev/php:8.0-nginx-prod - -RUN apk add libpq libpq-dev curl-dev - -RUN apk add --no-cache --virtual .build-deps linux-headers && \ - docker-php-ext-install sockets && \ - docker-php-source extract && \ - mkdir /usr/src/php/ext/swoole && \ - curl -sfL https://github.com/swoole/swoole-src/archive/v5.1.0.tar.gz -o swoole.tar.gz && \ - tar xfz swoole.tar.gz --strip-components=1 -C /usr/src/php/ext/swoole && \ - docker-php-ext-configure swoole \ - --enable-mysqlnd \ - --enable-swoole-pgsql \ - --enable-openssl \ - --enable-sockets --enable-swoole-curl && \ - docker-php-ext-install -j$(nproc) swoole && \ - # cleanup - apk del .build-deps && \ - rm -rf /var/cache/apk/* /tmp/* diff --git a/8.0-nginx-swoole/Dockerfile b/8.0-nginx-swoole/Dockerfile deleted file mode 100644 index b964d66..0000000 --- a/8.0-nginx-swoole/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM kooldev/php:8.0-nginx - -RUN apk add libpq libpq-dev curl-dev - -RUN apk add --no-cache --virtual .build-deps linux-headers && \ - docker-php-ext-install sockets && \ - docker-php-source extract && \ - mkdir /usr/src/php/ext/swoole && \ - curl -sfL https://github.com/swoole/swoole-src/archive/v5.1.0.tar.gz -o swoole.tar.gz && \ - tar xfz swoole.tar.gz --strip-components=1 -C /usr/src/php/ext/swoole && \ - docker-php-ext-configure swoole \ - --enable-mysqlnd \ - --enable-swoole-pgsql \ - --enable-openssl \ - --enable-sockets --enable-swoole-curl && \ - docker-php-ext-install -j$(nproc) swoole && \ - # cleanup - apk del .build-deps && \ - rm -rf /var/cache/apk/* /tmp/* diff --git a/8.1-nginx-swoole-prod/Dockerfile b/8.1-nginx-swoole-prod/Dockerfile deleted file mode 100644 index 37d250b..0000000 --- a/8.1-nginx-swoole-prod/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM kooldev/php:8.1-nginx-prod - -RUN apk add libpq libpq-dev curl-dev - -RUN apk add --no-cache --virtual .build-deps linux-headers && \ - docker-php-ext-install sockets && \ - docker-php-source extract && \ - mkdir /usr/src/php/ext/swoole && \ - curl -sfL https://github.com/swoole/swoole-src/archive/v5.1.0.tar.gz -o swoole.tar.gz && \ - tar xfz swoole.tar.gz --strip-components=1 -C /usr/src/php/ext/swoole && \ - docker-php-ext-configure swoole \ - --enable-mysqlnd \ - --enable-swoole-pgsql \ - --enable-openssl \ - --enable-sockets --enable-swoole-curl && \ - docker-php-ext-install -j$(nproc) swoole && \ - # cleanup - apk del .build-deps && \ - rm -rf /var/cache/apk/* /tmp/* diff --git a/8.1-nginx-swoole/Dockerfile b/8.1-nginx-swoole/Dockerfile deleted file mode 100644 index b294c51..0000000 --- a/8.1-nginx-swoole/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM kooldev/php:8.1-nginx - -RUN apk add libpq libpq-dev curl-dev - -RUN apk add --no-cache --virtual .build-deps linux-headers && \ - docker-php-ext-install sockets && \ - docker-php-source extract && \ - mkdir /usr/src/php/ext/swoole && \ - curl -sfL https://github.com/swoole/swoole-src/archive/v5.1.0.tar.gz -o swoole.tar.gz && \ - tar xfz swoole.tar.gz --strip-components=1 -C /usr/src/php/ext/swoole && \ - docker-php-ext-configure swoole \ - --enable-mysqlnd \ - --enable-swoole-pgsql \ - --enable-openssl \ - --enable-sockets --enable-swoole-curl && \ - docker-php-ext-install -j$(nproc) swoole && \ - # cleanup - apk del .build-deps && \ - rm -rf /var/cache/apk/* /tmp/* diff --git a/8.2-nginx-swoole-prod/Dockerfile b/8.2-nginx-swoole-prod/Dockerfile deleted file mode 100644 index 240573a..0000000 --- a/8.2-nginx-swoole-prod/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM kooldev/php:8.2-nginx-prod - -RUN apk add libpq libpq-dev curl-dev - -RUN apk add --no-cache --virtual .build-deps linux-headers && \ - docker-php-ext-install sockets && \ - docker-php-source extract && \ - mkdir /usr/src/php/ext/swoole && \ - curl -sfL https://github.com/swoole/swoole-src/archive/v5.1.0.tar.gz -o swoole.tar.gz && \ - tar xfz swoole.tar.gz --strip-components=1 -C /usr/src/php/ext/swoole && \ - docker-php-ext-configure swoole \ - --enable-mysqlnd \ - --enable-swoole-pgsql \ - --enable-openssl \ - --enable-sockets --enable-swoole-curl && \ - docker-php-ext-install -j$(nproc) swoole && \ - # cleanup - apk del .build-deps && \ - rm -rf /var/cache/apk/* /tmp/* diff --git a/8.2-nginx-swoole/Dockerfile b/8.2-nginx-swoole/Dockerfile deleted file mode 100644 index c484fbf..0000000 --- a/8.2-nginx-swoole/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM kooldev/php:8.2-nginx - -RUN apk add libpq libpq-dev curl-dev - -RUN apk add --no-cache --virtual .build-deps linux-headers && \ - docker-php-ext-install sockets && \ - docker-php-source extract && \ - mkdir /usr/src/php/ext/swoole && \ - curl -sfL https://github.com/swoole/swoole-src/archive/v5.1.0.tar.gz -o swoole.tar.gz && \ - tar xfz swoole.tar.gz --strip-components=1 -C /usr/src/php/ext/swoole && \ - docker-php-ext-configure swoole \ - --enable-mysqlnd \ - --enable-swoole-pgsql \ - --enable-openssl \ - --enable-sockets --enable-swoole-curl && \ - docker-php-ext-install -j$(nproc) swoole && \ - # cleanup - apk del .build-deps && \ - rm -rf /var/cache/apk/* /tmp/* diff --git a/fwd-template.json b/fwd-template.json index 6a2f918..d511903 100644 --- a/fwd-template.json +++ b/fwd-template.json @@ -2,9 +2,9 @@ "output": ".", "builds": [ { - "name": "8.0-nginx-swoole", + "name": "8.0-swoole", "data": { - "from": "kooldev/php:8.0-nginx" + "from": "kooldev/php:8.0-node" }, "files": [ { @@ -26,9 +26,9 @@ ] }, { - "name": "8.1-nginx-swoole", + "name": "8.1-swoole", "data": { - "from": "kooldev/php:8.1-nginx" + "from": "kooldev/php:8.1-node" }, "files": [ { @@ -50,9 +50,9 @@ ] }, { - "name": "8.2-nginx-swoole", + "name": "8.2-swoole", "data": { - "from": "kooldev/php:8.2-nginx" + "from": "kooldev/php:8.2-node" }, "files": [ { diff --git a/kool.yml b/kool.yml index 6428a4d..13b1106 100644 --- a/kool.yml +++ b/kool.yml @@ -3,9 +3,9 @@ scripts: - kool docker fireworkweb/fwd:v1.0 fwd template build: - kool run template - - docker build --pull -t kooldev/php:8.0-nginx-swoole 8.0-nginx-swoole + - docker build --pull -t kooldev/php:8.0-swoole 8.0-swoole - docker build --pull -t kooldev/php:8.0-nginx-swoole-prod 8.0-nginx-swoole-prod - - docker build --pull -t kooldev/php:8.1-nginx-swoole 8.1-nginx-swoole + - docker build --pull -t kooldev/php:8.1-swoole 8.1-swoole - docker build --pull -t kooldev/php:8.1-nginx-swoole-prod 8.1-nginx-swoole-prod - - docker build --pull -t kooldev/php:8.2-nginx-swoole 8.2-nginx-swoole + - docker build --pull -t kooldev/php:8.2-swoole 8.2-swoole - docker build --pull -t kooldev/php:8.2-nginx-swoole-prod 8.2-nginx-swoole-prod