Development is a compact and efficient Docker image providing essential tools for web development.
455
Β Β Β Β Development is a compact and efficient Docker image, created to make it easier to perform multiple tasks in a web project, such as environment configurations, installing dependencies or compiling code.
Β Β Β Β Development is a Docker image created using the Linux distribution Alpine. Some common packages for web projects, such as PHP, Node.js, NPM, Composer, and Git, have been added to facilitate the execution of common tasks. There is the possibility to install additional PHP extensions, as well as more packages and other configurations through the environment variablesβ . Some tasks can also be executed automatically, such as package updates, repository cloning, repository updates, dependency installation, and code compilation, making the user's work easier.
Follow the steps below to build the Docker image:
git clone https://github.com/joaopinto14/Development.git
cd Development
docker build -t development .
true, the image will automatically update the installed packages. Default: falsetrue, the image will automatically update the repository. Default: falsetrue, the image will install the dependencies using Composer. Default: falsetrue, the image will install the dependencies using NPM. Default: falsetrue, the image will compile the code using NPM. Default: falsedocker run -it --rm \
-e AUTO_UPDATE=true \
-e PHP_EXTENSIONS=pdo_mysql mysqli \
-e ADDITIONAL_PACKAGES=git zip unzip \
-e TIMEZONE=America/Sao_Paulo \
-e GITHUB_REPO=joaopinto14/Development \
-e GITHUB_USERNAME=joaopinto14 \
-e GITHUB_TOKEN=your_token \
-e GITHUB_BRANCH_TAG=main \
-e GITHUB_AUTO_UPDATE=true \
-e COMPOSER_INSTALL=true \
-e NPM_INSTALL=true \
-e NPM_BUILD=true \
development
services:
development:
image: development
environment:
- AUTO_UPDATE=true
- PHP_EXTENSIONS=pdo_mysql mysqli
- ADDITIONAL_PACKAGES=git zip unzip
- TIMEZONE=America/Sao_Paulo
- GITHUB_REPO=joaopinto14/Development
- GITHUB_USERNAME=joaopinto14
- GITHUB_TOKEN=your_token
- GITHUB_BRANCH_TAG=main
- GITHUB_AUTO_UPDATE=true
- COMPOSER_INSTALL=true
- NPM_INSTALL=true
- NPM_BUILD=true
Β Β Β Β If you find any issues related to the image or have suggestions for improvements, do not hesitate to open an issueβ on GitHub. Please provide as many details as possible to assist in resolving the issue or implementing your suggestion.
Β Β Β Β This project is licensed under the MIT license - see the LICENSE.mdβ file for more details.
Content type
Image
Digest
sha256:5ccc2ad45β¦
Size
53.6 MB
Last updated
about 2 years ago
docker pull joaopinto14/development