Sign inSign up

amwebteam/ubuntu-apache2-php

By amwebteam

•Updated 9 months ago

Docker container using Ubuntu and PHP fir web development

Image
0

10K+

amwebteam/ubuntu-apache2-php repository overview

⁠Docker web stack

⁠Includes on tag "php7.4"
  • Ubuntu 18.04
  • Apache 2
  • PHP 7.4
⁠Includes on tag "php8.1"
  • Ubuntu 22.04
  • Apache 2
  • PHP 8.1

⁠Commands

These are shortcut commands available with make inside each image directory:

  • run: Run a container for testing purpose.
  • pull: Pulls the image.
  • build: Builds the image.
  • push: Builds and pushes the image.

These are common arguments available:

ArgumentDefaultDescription
TAGstableImage tag to build
USERamwebteamThe Docker user name
REPO$(notdir $(CURDIR))The repository name
PHP_VERSION$(PHP_VERSION)The PHP Version to use during the docler image build up

⁠Customization

Here are some tips to customizing the images for each project's needs. In the make file project, change the value of $PHP_VERSION (the desault one is "PHP_VERSION=8.1") to another version create a new image acording you project needs. Ex: PHP_VERSION="PHP_VERSION=7.4" (case you need the PHP in the version 7.4 for you project).

⁠Timezone

To set timezone configuration, use the environment variable TZ. Read more⁠.

⁠LICENSE

MIT

Tag summary

Content type

Image

Digest

sha256:57b588afe…

Size

277.3 MB

Last updated

9 months ago

docker pull amwebteam/ubuntu-apache2-php:php8.3