Labo-CBZ Docker image: devops/linters
10K+
This Docker image is a comprehensive toolbox designed for code linting and validation across various languages and formats. It includes multiple linters and tools to ensure code quality and security. The image is built on Alpine Linux and includes Node.js, Python, and several linters such as Hadolint, Ansible Lint, Jinja2 Lint, and more.
VERSION - The version of the image.MAINTAINER - The maintainer of the image.MAINTAINER_ADDRESS - The email address of the maintainer.DEFAULT_USER - The default user to be created in the image.DEFAULT_USER_ID - The user ID for the default user.DEFAULT_GROUP - The default group to be created in the image.DEFAULT_GROUP_GID - The group ID for the default group.DEFAULT_USER_HOME - The home directory for the default user.DEFAULT_WORKDIR - The default working directory.HADOLINT_VERSION - The version of Hadolint to be installed.NODEJS_VERSION - The version of Node.js to be installed.You can build an image from a Dockerfile using the ./build script. This script allows you to build your image while loading variables from the .env file (don't forget to edit the script if you add any variables).
This bash script automates the building and tagging of Docker images based on specified criteria and arguments. It also handles versioning and tagging of the images. To use this script, follow these steps:
.env file with environment variables such as MAINTAINER, MAINTAINER_ADDRESS, DEFAULT_USER, DEFAULT_GROUP, and DEFAULT_WORKDIR..tag file to maintain versioning information.The script supports the following arguments:
--major: Perform a major build, incrementing the major version and resetting the minor version.--test: Perform a test build with a -test suffix.--scout: Perform a scout build with the latest-scout tag.--cicd: Perform a CI/CD build with a date suffix.--push: Perform a minor build, incrementing the minor version.Here you can put your change to keep a trace of your work and decisions.
Content type
Image
Digest
sha256:9a934f1b2…
Size
530.5 MB
Last updated
3 days ago
docker pull labocbz/devops-linters