packaged by Chainguard
Catalog Starter gives your team 5 production-grade container images, free forever, with no contract or sales call. Sign up with your work email.
Try Starter for freeChainguard Harness uses frontier models from Anthropic, OpenAI, and Google to attack a copy of your app built on snipe-it. It finds exploitable, validated issues that SAST and DAST tools aren't built to find.
Snipe-IT is an open source IT asset and license management system built on Laravel, served by Apache httpd and mod_php.
Chainguard Containers are regularly-updated, secure-by-default container images.
For those with access, this container image is available on cgr.dev:
Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.
The Chainguard image for Snipe-IT is a replacement for the upstream snipe/snipe-it image. It keeps the upstream runtime contract: the default command is /startup.sh, the working directory is /var/www/html, persistent data lives on the /var/lib/snipeit volume, and Apache httpd with mod_php serves the application on port 80.
The differences from the upstream image are:
/etc/apache2/httpd.conf and /etc/apache2/conf.d/). /startup.sh is upstream's docker/startup_alpine.sh, the startup script of upstream's Alpine image./var/lib/snipeit/ssl; terminate TLS at an ingress or load balancer instead./startup.sh can prepare the volume and bind port 80. Apache workers then run as the apache user (UID 65532), and everything under /var/lib/snipeit is owned by that user.Snipe-IT needs a MySQL or MariaDB database and an application key. Generate a key by running the image without one; it prints a key and exits:
Create a network and start MariaDB:
Then start Snipe-IT, passing the key printed above:
On every start, /startup.sh creates the data directories on the volume, runs the database migrations and caches the configuration before it starts Apache. Open http://localhost:8080 and complete the setup wizard to create the first administrator. The /health endpoint returns {"status":"ok"} once the database is reachable, which makes it a good readiness probe.
The image reads the same environment variables as upstream's Docker image; see the upstream Docker installation guide and configuration reference. The database settings are read from MYSQL_PORT_3306_TCP_ADDR, MYSQL_PORT_3306_TCP_PORT, MYSQL_DATABASE, MYSQL_USER and MYSQL_PASSWORD. You can supply APP_KEY, DB_PASSWORD, MAIL_PASSWORD and the other secrets that /startup.sh lists as files, through the matching _FILE variables, for example APP_KEY_FILE=/run/secrets/app_key.
On platforms that restrict privileged ports, set APACHE_HTTP_PORT to move Apache off port 80. Snipe-IT only answers requests whose Host header matches APP_URL, so give HTTP probes that host. In Kubernetes, for example, with APP_URL=http://snipe-it.example.com:
PHP_UPLOAD_LIMIT (in megabytes) raises PHP's upload limits. APACHE_LIMIT_REQUEST_FIELD_SIZE, APACHE_LIMIT_REQUEST_LINE and APACHE_LIMIT_REQUEST_FIELDS override Apache's request header limits.
Mount a persistent volume at /var/lib/snipeit. It holds uploads (data/uploads and data/private_uploads), backups (dumps) and the OAuth keys (keys) that sign API tokens.
Chainguard's free tier of Starter container images are built with Wolfi, our minimal Linux undistro.
All other Chainguard Containers are built with Chainguard OS, Chainguard's minimal Linux operating system designed to produce container images that meet the requirements of a more secure software supply chain.
The main features of Chainguard Containers include:
For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a development, or -dev, variant.
In all other cases, including Chainguard Containers tagged as :latest or with a specific version number, the container images include only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager.
Although the -dev container image variants have similar security features as their more minimal versions, they include additional software that is typically not necessary in production environments. We recommend using multi-stage builds to copy artifacts from the -dev variant into a more minimal production image.
To improve security, Chainguard Containers include only essential dependencies. Need more packages? Chainguard customers can use Custom Assembly to add packages, either through the Console, chainctl, or API.
To use Custom Assembly in the Chainguard Console: navigate to the image you'd like to customize in your Organization's list of images, and click on the Customize image button at the top of the page.
Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.
This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.
Chainguard's container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:
For a complete list of licenses, please refer to this Image's SBOM.
Software license agreementChainguard Containers are SLSA Level 3 compliant with detailed metadata and documentation about how it was built. We generate build provenance and a Software Bill of Materials (SBOM) for each release, with complete visibility into the software supply chain.
SLSA compliance at ChainguardThis image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.
PCI DSS at Chainguard