Skip to content

nerds-and-company/docker-php-ssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nerdsandcompany/php-ssl

Nerds and Company PHP + SSL image for Docker This container extends the nerdsandcompany/php-base container. See for more information that container.

Usage

Make sure you add the following lines to your project's Dockerfile:

FROM nerdsandcompany/php-ssl

# The self-signed certificates use these names in the default apache config
# For this copy to work, these files need to be present in the project root.
COPY ssl-cert-snakeoil.key /etc/ssl/private/
COPY ssl-cert-snakeoil.crt /etc/ssl/certs/

# Run composer install if composer.json is present
COPY composer.json /var/www/html/
COPY composer.lock /var/www/html/
RUN [ ! -e composer.json ] || composer install --prefer-source --no-interaction

# Copy dep files first so Docker caches the install step if they don't change
ADD . /var/www/html/

Additionally contains

services

  • SSL (Apache)

PHP Extensions

  • socache_shmcb
  • ssl

See also

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published