Gitlab CI Image for building projects
100K+
This Docker image is designed to be used in GitLab CI pipelines. It contains the necessary tools and dependencies for building and testing your project.
This Docker image contains:
It has the following PHP extensions installed:
To use this image, you can specify the image tag in your .gitlab-ci.yml file. Here's an example:
image: epartment/gitlab-ci:<tag>
Replace <tag> with the desired version of the image. The available tags are:
latest : This tag includes latest PHP version without Node.jslatest-nodelatest : This tag includes latest PHP version and latest Node.js version available7.4 : This tag includes PHP 7.4 without Node.js7.4-node10 : This tag includes PHP 7.4 + Node.js version 10.x8.1-node14 : This tag includes PHP 8.1 + Node.js version 14.ximage: epartment/gitlab-ci-composer1:<tag>
Replace <tag> with the desired version of the image. The available tags are:
latest : This tag includes latest PHP version without Node.jslatest-nodelatest : This tag includes latest PHP version and latest Node.js version available7.4 : This tag includes PHP 7.4 without Node.js7.4-node10 : This tag includes PHP 7.4 + Node.js version 10.x8.1-node14 : This tag includes PHP 8.1 + Node.js version 14.xChoose the appropriate tag based on your project's requirements. If you're not sure which tag to use, you can start with latest as it includes the latest versions of Node.js and Composer.
In your GitLab CI pipeline, you can then run commands using the tools available in the image. For example:
stages:
- build
build:
stage: build
script:
- composer install
- yarn install
- grunt watch
This example shows a simple build stage that runs Composer install, Yarn install, and Grunt watch commands.
Remember to adjust the commands according to your project's needs.
Please note that this image is specifically tailored for GitLab CI usage and may not work as expected outside of the GitLab CI environment.
I hope this helps! Let me know if you have any further questions.
Content type
Image
Digest
sha256:af11b08c8…
Size
36.2 MB
Last updated
about 15 hours ago
docker pull epartment/gitlab-ci:latest-nodelatest-buildcache