infodeepcube/laravel-gcp

By infodeepcube

Updated over 1 year ago

This is a base image for Laravel application with many pre-installed php extensions and cli tools

Image
Languages & frameworks
Web servers
0

1.3K

infodeepcube/laravel-gcp repository overview

Overview of the Docker Image for Laravel Applications

Description

The infodeepcube/laravel-gcp repository provides a base Docker image for Laravel applications, enriched with numerous pre-installed PHP extensions and CLI tools. This image is designed to simplify the development and deployment process of Laravel applications, ensuring a consistent and optimized runtime environment.

Key Features
  • Laravel Ready: Specifically configured to support Laravel applications, reducing the initial setup time.
  • Pre-installed PHP Extensions: Includes a wide range of commonly used PHP extensions for Laravel applications.
  • CLI Tools: Pre-installed various command-line tools such as Composer, Node.js, npm, and others, to facilitate dependency management and application building.
Installed Dependencies and Extensions

The image includes the following system dependencies and PHP extensions:

  • System Dependencies:

    • pkg-config
    • ca-certificates
    • gnupg, gnupg2
    • openssl, libssl-dev, libcurl4-openssl-dev
    • libonig-dev
    • zip, unzip
    • libxml2-dev
    • libzip-dev
    • curl
    • supervisor
    • locales
    • procps
    • redis-server
    • rsyslog
    • systemctl
  • PHP Extensions:

    • mongodb
    • redis
    • openswoole (configured with options: enable-openssl="yes", enable-sockets="no", enable-http2="no", enable-mysqlnd="no", with-postgres="no")
    • opcache
    • sockets
    • pcntl (configured with --enable-pcntl)
Available Tags

The Docker image is available under different tags, each corresponding to different architectures, allowing greater flexibility and compatibility with various hardware platforms:

  • 8.3-openswoole: Specific tag for PHP 8.3 with OpenSwoole, optimized for 64-bit (x86_64) architectures.
  • 8.3-openswoole-arm64: Tag for PHP 8.3 with OpenSwoole, optimized for ARM 64-bit architectures.
Usage

To use this image as a base for your Laravel project, you can specify the desired tag in your Dockerfile:

FROM infodeepcube/laravel-gcp:8.3-openswoole

# Add the necessary commands to configure your application

Or, for the specific version for ARM architectures:

FROM infodeepcube/laravel-gcp:8.3-openswoole-arm64

# Add the necessary commands to configure your application
Conclusion

The infodeepcube/laravel-gcp repository offers a versatile and powerful Docker image for developing Laravel applications, with support for different architectures. With pre-installed PHP extensions and CLI tools, it represents an efficient solution for developers and development teams, providing a solid and optimized foundation for any Laravel project.

Tag summary

Content type

Image

Digest

sha256:cb03b944b

Size

267.7 MB

Last updated

over 1 year ago

docker pull infodeepcube/laravel-gcp:8.3-openswoole