snipe-it (2026-09-10)

Published 2026-09-10 18:54:20 -04:00 by ben

Installation

docker pull git.radey.org/ben/snipe-it:2026-09-10
sha256:5d955e70b9527c4c913eb8110ede8a08f8afbb72f9d63b811e6fd7c764b170e0

About this package

A free open source IT asset/license management system

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:cb9335ce6f27399c2b17787739d6675502767c53e0335ded2a5f0d003d996650 in /
CMD ["/bin/bash"]
LABEL maintainer=Brady Wetherington <bwetherington@grokability.com>
RUN /bin/sh -c export DEBIAN_FRONTEND=noninteractive; export DEBCONF_NONINTERACTIVE_SEEN=true; echo 'tzdata tzdata/Areas select Etc' | debconf-set-selections; echo 'tzdata tzdata/Zones/Etc select UTC' | debconf-set-selections; apt-get update -qqy && apt-get install -qqy --no-install-recommends apt-utils apache2 apache2-bin libapache2-mod-php8.3 php8.3-curl php8.3-ldap php8.3-mysql php8.3-gd php8.3-xml php8.3-mbstring php8.3-zip php8.3-bcmath php8.3-redis php-memcached patch curl wget vim git cron mysql-client supervisor cron gcc make autoconf libc-dev libldap-common pkg-config php8.3-dev ca-certificates unzip dnsutils && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit
RUN /bin/sh -c curl -L -O https://github.com/pear/pearweb_phars/raw/master/go-pear.phar # buildkit
RUN /bin/sh -c php go-pear.phar # buildkit
RUN /bin/sh -c phpenmod gd # buildkit
RUN /bin/sh -c phpenmod bcmath # buildkit
RUN /bin/sh -c sed -i 's/variables_order = .*/variables_order = "EGPCS"/' /etc/php/8.3/apache2/php.ini # buildkit
RUN /bin/sh -c sed -i 's/variables_order = .*/variables_order = "EGPCS"/' /etc/php/8.3/cli/php.ini # buildkit
RUN /bin/sh -c useradd -m --uid 10000 --gid 50 docker # buildkit
RUN /bin/sh -c echo export APACHE_RUN_USER=docker >> /etc/apache2/envvars # buildkit
RUN /bin/sh -c echo export APACHE_RUN_GROUP=staff >> /etc/apache2/envvars # buildkit
COPY docker/000-default.conf /etc/apache2/sites-enabled/000-default.conf # buildkit
RUN /bin/sh -c mkdir -p /var/lib/snipeit/ssl # buildkit
COPY docker/001-default-ssl.conf /etc/apache2/sites-available/001-default-ssl.conf # buildkit
RUN /bin/sh -c a2enmod ssl # buildkit
RUN /bin/sh -c a2ensite 001-default-ssl.conf # buildkit
COPY . /var/www/html # buildkit
RUN /bin/sh -c a2enmod rewrite # buildkit
COPY docker/apache-limits.conf /etc/apache2/conf-available/limits.conf # buildkit
RUN /bin/sh -c a2enconf limits # buildkit
COPY docker/column-statistics.cnf /etc/mysql/conf.d/column-statistics.cnf # buildkit
WORKDIR /var/www/html
COPY docker/docker.env /var/www/html/.env # buildkit
RUN /bin/sh -c chown -R docker /var/www/html # buildkit
RUN /bin/sh -c rm -r "/var/www/html/storage/private_uploads" && ln -fs "/var/lib/snipeit/data/private_uploads" "/var/www/html/storage/private_uploads" && rm -rf "/var/www/html/public/uploads" && ln -fs "/var/lib/snipeit/data/uploads" "/var/www/html/public/uploads" && rm -r "/var/www/html/storage/app/backups" && ln -fs "/var/lib/snipeit/dumps" "/var/www/html/storage/app/backups" && mkdir -p "/var/lib/snipeit/keys" && ln -fs "/var/lib/snipeit/keys/oauth-private.key" "/var/www/html/storage/oauth-private.key" && ln -fs "/var/lib/snipeit/keys/oauth-public.key" "/var/www/html/storage/oauth-public.key" && ln -fs "/var/lib/snipeit/keys/ldap_client_tls.cert" "/var/www/html/storage/ldap_client_tls.cert" && ln -fs "/var/lib/snipeit/keys/ldap_client_tls.key" "/var/www/html/storage/ldap_client_tls.key" && chown docker "/var/lib/snipeit/keys/" && chown -Rh docker "/var/www/html/storage/" && chmod +x /var/www/html/artisan && echo "Finished setting up application in /var/www/html" # buildkit
COPY /usr/bin/composer /usr/bin/composer # buildkit
USER docker
RUN /bin/sh -c COMPOSER_CACHE_DIR=/dev/null composer install --no-dev --working-dir=/var/www/html && rm -rf /var/www/html/vendor/*/*/.git # buildkit
USER root
VOLUME [/var/lib/snipeit]
COPY docker/startup.sh docker/supervisord.conf / # buildkit
COPY docker/supervisor-exit-event-listener /usr/bin/supervisor-exit-event-listener # buildkit
RUN /bin/sh -c chmod +x /startup.sh /usr/bin/supervisor-exit-event-listener # buildkit
CMD ["/startup.sh"]
EXPOSE [80/tcp]
EXPOSE [443/tcp]
/bin/sh -c sed -i -- 's/80/8080/g' /etc/apache2/ports.conf && sed -i -- 's/443/8443/g' /etc/apache2/ports.conf && sed -i -- 's/443/8443/g' /etc/apache2/sites-available/default-ssl.conf && sed -i -- 's/80/8080/g' /etc/apache2/sites-available/000-default.conf && find /etc/php/*/apache2 -type f -name php.ini -exec sed -i 's/post_max_size = 8M/post_max_size = 100M/' {} \; && find /etc/php/*/apache2 -type f -name php.ini -exec sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 100M/' {} \; && rm /etc/apache2/sites-enabled/001-default-ssl.conf && rm /var/log/apache2/access.log && rm /var/log/apache2/error.log && rm /var/log/apache2/other_vhosts_access.log && ln -s /dev/stdout /var/log/apache2/access.log && ln -s /dev/stderr /var/log/apache2/error.log && ln -s /dev/stdout /var/log/apache2/other_vhosts_access.log && chmod 777 /var/log/apache2 && chmod 777 /var/run/apache2 && chown -R 1000 /var/www/html

Labels

Key Value
io.buildah.version 1.43.2
maintainer Brady Wetherington <bwetherington@grokability.com>
org.opencontainers.image.created 2026-09-08T19:52:56.675Z
org.opencontainers.image.description A free open source IT asset/license management system
org.opencontainers.image.licenses AGPL-3.0
org.opencontainers.image.revision 8d285d254fcb03aaa2111872e19aaca6e1030c67
org.opencontainers.image.source https://github.com/grokability/snipe-it
org.opencontainers.image.title snipe-it
org.opencontainers.image.url https://github.com/grokability/snipe-it
org.opencontainers.image.version latest
Details
Container
2026-09-10 18:54:20 -04:00
0
OCI / Docker
linux/amd64
AGPL-3.0
373 MiB
Versions (8) View all
latest 2026-10-22
2026-10-22 2026-10-22
2026-10-21 2026-10-21
2026-10-20 2026-10-20
2026-09-30 2026-09-30