Sign inSign up

schtr4jh/pckg

By schtr4jh

•Updated about 2 years ago

Docker image for pckg php applications

Image
Developer tools
3

100K+

schtr4jh/pckg repository overview

⁠pckg/docker-images

A collection of docker images for rapid web development.

⁠Base (schtr4jh/pckg:base)

Base up-to-date Ubuntu image with locales, software-properties-common, sudo, curl, apt-transport-https , apt-utils, tzdata, openssl, ca-certificates, gnupg-agent, and generated en_US.UTF-8 locale.

⁠Standalone services

All PHP images include curl, intl, xml, mbstring, zip, mysql, pgsql, cli, amqplib, ssh2, zmq , imap, redis, bcmath, gd, bz2, soap, and dev extensions.

All Apache images include have expires, headers, rewrite and ssl modules enabled.

⁠Beanstalkd (schtr4jh/pckg:beanstalkd)

Beanstalkd server.

⁠Group services

⁠Apache (schtr4jh/pckg:apache-alpine)

*(non-alpine Ubuntu image)

Apache 2.4 with PHP 7.4.

⁠Apache FPM (schtr4jh/pckg:apache-fpm-alpine)

*(non-alpine Ubuntu image)

Apache 2.4 with PHP 7.4 FPM.

Env variables:

  • REDIS_HOST & REDIS_PORT - hostname and port to which PHP will store sessions
  • REDIS_PASS - password used to authenticate with Redis
⁠Apache FPM Snappy (schtr4jh/pckg:apache-fpm-alpine-snappy7)

*(non-alpine Ubuntu image)

Apache 2.4 with PHP 7.4 FPM and Snappy extension.

⁠Apache FPM Snappy (schtr4jh/pckg:apache-fpm-alpine-snappy)

*(non-alpine Ubuntu image)

Apache 2.4 with PHP 8 FPM and Snappy extension.

⁠PHP (schtr4jh/pckg:php-cron)

PHP 7.4

Env variables:

  • JOB (required) - PHP script available in /var/www/html/
⁠PHP Sendmail (schtr4jh/pckg:sendmail-php)

PHP 7.4 with sendmail and opendkim.

Env variables:

  • DOMAIN - hostname domain for DKIM and SPF
⁠GO (schtr4jh/pckg:php-go-alpine)

*(non-alpine Ubuntu image)

PHP 7.4 with golang.

Env variables:

  • JOB (required) - GO script available in /var/www/html/
⁠GO supervisor (schtr4jh/pckg:php-go-supervisor-alpine)

*(non-alpine Ubuntu image)

PHP 7.4 with golang and supervisord.

⁠Dev

⁠Latest (schtr4jh/pckg:latest)

Includes node, yarn, composer, webpack, webpack-cli, g++, zip, unzip, git, wget, and python2.

Mount points:

  • /home/developer/developer.ovpn - mount .ovpn file and connect to OpenVPN server
  • /root/.ssh/id_rsa & /root/.ssh/id_rsa.pub - mount to allow SSH for GIT
  • /root/.composer/auth.json - mount to share credentials for Composer

Env variables:

  • PCKG_EMAIL & PCKG_NAME - set GIT email and name
⁠Services (schtr4jh/pckg:services)

Includes MySQL, PostgreSQL, Redis and RabbitMQ servers.

⁠Tests

Tests are available in ./full/test/ folder.

See ./.github/workflows/build.yaml for more info about the build process.

⁠Availability table

NameImagePHPApacheCronPM
Base*pckg:base
Beanstalkdpckg:beanstalkd
Apachepckg:apache-alpineXXX
Apache FPMpckg:apache-fpm-alpineXXX
Apache FPM Snappypckg:apache-fpm-alpine-snappyX (8)XX
Apache FPM Snappy7pckg:apache-fpm-alpine-snappyX (7)XX
PHP Cron*pckg:php-cronXX
Sendmailpckg:sendmail-phpXX
Go*pckg:php-go-alpineX
Go Supervisorpckg:php-go-supervisor-alpineX
Go PuppeteerX
Dev (latest)pckg:latestXX
Servicespckg:servicesXX

Tag summary

Content type

Image

Digest

sha256:029f75a57…

Size

372.2 MB

Last updated

about 2 years ago

docker pull schtr4jh/pckg