Compare commits

...

10 Commits

Author SHA1 Message Date
Stanislav Nikitin ec5e56c9fc
Update alpine version.
continuous-integration/drone/push Build is passing Details
2023-06-07 14:46:05 +05:00
Stanislav Nikitin 031daa964e
Update README. 2023-06-07 14:43:23 +05:00
Stanislav Nikitin 602f44b0bf
Fix run/finish scripts for php. 2023-06-07 14:41:54 +05:00
Stanislav Nikitin ace6d97a7a
Remove xmlrpc package installation due to its absence.
continuous-integration/drone/push Build is passing Details
2022-06-29 19:43:47 +05:00
Stanislav Nikitin 14c08dd54e
Switch to mirrorred images for Drone and Docker, update to PHP 8.
continuous-integration/drone/push Build is failing Details
2022-06-29 19:39:30 +05:00
Stanislav Nikitin bf6c73bdfb
Update Drone configuration. 2022-06-26 16:08:45 +05:00
Stanislav Nikitin 89dd5e9d00
Update Drone configuration. 2022-06-26 15:54:54 +05:00
Stanislav Nikitin 362632f874
Update Drone configuration. 2022-06-26 15:50:50 +05:00
Stanislav Nikitin 1fa281e42f
Update Drone configuration. 2022-06-26 15:49:31 +05:00
Stanislav Nikitin fdb6277ca3
Update drone configuration. 2022-06-26 15:35:34 +05:00
8 changed files with 19 additions and 19 deletions

View File

@ -5,11 +5,11 @@ name: build
steps:
- name: docker
image: plugins/docker
image: code.pztrn.name/containers/mirror/plugins/docker:20.13.0
settings:
username:
from_secret: dockerhub_user
registry: code.pztrn.name
username: drone
password:
from_secret: dockerhub_password
repo: pztrn/npf
from_secret: drone_secret
repo: code.pztrn.name/containers/npf
auto_tag: true

View File

@ -1,6 +1,6 @@
FROM alpine:3.14
FROM code.pztrn.name/containers/mirror/alpine:3.16.1
RUN apk add --no-cache nginx php7-bcmath php7-bz2 php7-common php7-ctype php7-curl php7-dba php7-dom php7-embed php7-enchant php7-exif php7-ffi php7-fileinfo php7-fpm php7-ftp php7-gd php7-gettext php7-gmp php7-iconv php7-imap php7-intl php7-json php7-ldap php7-mbstring php7-mysqlnd php7-odbc php7-opcache php7-openssl php7-pcntl php7-pdo php7-pdo_dblib php7-pdo_mysql php7-pdo_odbc php7-pdo_pgsql php7-pdo_sqlite php7-pear php7-pgsql php7-phar php7-posix php7-pspell php7-session php7-shmop php7-simplexml php7-snmp php7-soap php7-sockets php7-sodium php7-sqlite3 php7-sysvmsg php7-sysvshm php7-tidy php7-tokenizer php7-xml php7-xmlreader php7-xmlrpc php7-xmlwriter php7-xsl php7-zip s6
RUN apk add --no-cache nginx php8-bcmath php8-bz2 php8-common php8-ctype php8-curl php8-dba php8-dom php8-embed php8-enchant php8-exif php8-ffi php8-fileinfo php8-fpm php8-ftp php8-gd php8-gettext php8-gmp php8-iconv php8-imap php8-intl php8-json php8-ldap php8-mbstring php8-mysqlnd php8-odbc php8-opcache php8-openssl php8-pcntl php8-pdo php8-pdo_dblib php8-pdo_mysql php8-pdo_odbc php8-pdo_pgsql php8-pdo_sqlite php8-pear php8-pgsql php8-phar php8-posix php8-pspell php8-session php8-shmop php8-simplexml php8-snmp php8-soap php8-sockets php8-sodium php8-sqlite3 php8-sysvmsg php8-sysvshm php8-tidy php8-tokenizer php8-xml php8-xmlreader php8-xmlwriter php8-xsl php8-zip s6
COPY configuration /etc/

View File

@ -10,9 +10,9 @@ Container was created as an attempt to move everything inside Docker, even thing
At current commit image is using:
* Alpine 3.14.0
* nginx 1.20.2
* php 7.4.26
* Alpine 3.16.1
* nginx 1.22.1
* php 8.1.17
## Adding nginx configuration

View File

@ -1,7 +0,0 @@
[global]
pid = /var/run/php-fpm7.pid
error_log = /proc/self/fd/2
daemonize = no
include=/etc/php7/php-fpm.d/*.conf

View File

@ -0,0 +1,7 @@
[global]
pid = /var/run/php-fpm8.pid
error_log = /proc/self/fd/2
daemonize = no
include=/etc/php8/php-fpm.d/*.conf

View File

@ -1,3 +1,3 @@
#!/bin/sh
kill `cat /var/run/php-fpm7.pid`
kill $(cat /var/run/php-fpm8.pid)

View File

@ -1,3 +1,3 @@
#!/bin/execlineb -P
/usr/sbin/php-fpm7 -F
/usr/sbin/php-fpm8 -F