docker

swag (0.0.2)

Published 2025-07-22 11:02:30 -04:00 by andrewamason

Installation

docker pull gitea.andrewamason.tech/docker/swag:0.0.2
sha256:ba28db1ed529e7c3c41de49da8855814de651901b3939ebc03e7514cf3e97797

About this package

baseimage-alpine-nginx image by linuxserver.io

Image Layers

COPY /root-out/ / # buildkit
ARG BUILD_DATE=2025-07-05T13:46:04+00:00
ARG VERSION=61860f4b-ls4
ARG MODS_VERSION=v3
ARG PKG_INST_VERSION=v1
ARG LSIOWN_VERSION=v1
ARG WITHCONTENV_VERSION=v1
LABEL build_version=Linuxserver.io version:- 61860f4b-ls4 Build-date:- 2025-07-05T13:46:04+00:00
LABEL maintainer=TheLamer
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # buildkit
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.v1 /usr/bin/with-contenv # buildkit
ENV PS1=$(whoami)@$(hostname):$(pwd)\$ HOME=/root TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 S6_STAGE2_HOOK=/docker-mods VIRTUAL_ENV=/lsiopy PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |6 BUILD_DATE=2025-07-05T13:46:04+00:00 VERSION=61860f4b-ls4 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 WITHCONTENV_VERSION=v1 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache alpine-release bash ca-certificates catatonit coreutils curl findutils jq netcat-openbsd procps-ng shadow tzdata && echo "**** create abc user and make our folders ****" && groupmod -g 1000 users && useradd -u 911 -U -d /config -s /bin/false abc && usermod -G users abc && mkdir -p /app /config /defaults /lsiopy && echo "**** cleanup ****" && rm -rf /tmp/* # buildkit
COPY root/ / # buildkit
ENTRYPOINT ["/init"]
ARG BUILD_DATE=2025-07-18T19:34:53+00:00
ARG VERSION=1.28.0-r3_8.4.10-r0-ls9
LABEL build_version=Linuxserver.io version:- 1.28.0-r3_8.4.10-r0-ls9 Build-date:- 2025-07-18T19:34:53+00:00
LABEL maintainer=nemchik
ENV PHP_INI_SCAN_DIR=:/config/php
RUN |2 BUILD_DATE=2025-07-18T19:34:53+00:00 VERSION=1.28.0-r3_8.4.10-r0-ls9 /bin/sh -c echo "**** install build packages ****" && apk add --no-cache apache2-utils git logrotate nano nginx openssl php84 php84-ctype php84-curl php84-fileinfo php84-fpm php84-iconv php84-json php84-mbstring php84-openssl php84-phar php84-session php84-simplexml php84-xml php84-xmlwriter php84-zip php84-zlib && echo "**** configure nginx ****" && echo 'fastcgi_param HTTP_PROXY ""; # https://httpoxy.org/' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param PATH_INFO $fastcgi_path_info; # http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_split_path_info' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; # https://www.nginx.com/resources/wiki/start/topics/examples/phpfcgi/#connecting-nginx-to-php-fpm' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param SERVER_NAME $host; # Send HTTP_HOST as SERVER_NAME. If HTTP_HOST is blank, send the value of server_name from nginx (default is `_`)' >> /etc/nginx/fastcgi_params && rm -f /etc/nginx/conf.d/stream.conf && rm -f /etc/nginx/http.d/default.conf && echo "**** guarantee correct php version is symlinked ****" && if [ "$(readlink /usr/bin/php)" != "php84" ]; then rm -rf /usr/bin/php && ln -s /usr/bin/php84 /usr/bin/php; fi && echo "**** configure php ****" && sed -i "s#;error_log = log/php84/error.log.*#error_log = /config/log/php/error.log#g" /etc/php84/php-fpm.conf && sed -i "s#user = nobody.*#user = abc#g" /etc/php84/php-fpm.d/www.conf && sed -i "s#group = nobody.*#group = abc#g" /etc/php84/php-fpm.d/www.conf && echo "**** add run paths to php runtime config ****" && grep -qxF 'include=/config/php/*.conf' /etc/php84/php-fpm.conf || echo 'include=/config/php/*.conf' >> /etc/php84/php-fpm.conf && echo "**** install php composer ****" && EXPECTED_CHECKSUM="$(php -r 'copy("https://composer.github.io/installer.sig", "php://stdout");')" && php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && ACTUAL_CHECKSUM="$(php -r "echo hash_file('sha384', 'composer-setup.php');")" && if [ "$EXPECTED_CHECKSUM" != "$ACTUAL_CHECKSUM" ]; then >&2 echo 'ERROR: Invalid installer checksum' && rm composer-setup.php && exit 1; fi && php composer-setup.php --install-dir=/usr/bin && rm composer-setup.php && ln -s /usr/bin/composer.phar /usr/bin/composer && echo "**** fix logrotate ****" && sed -i "s#/var/log/messages {}.*# #g" /etc/logrotate.conf && sed -i 's#/usr/sbin/logrotate /etc/logrotate.conf#/usr/sbin/logrotate /etc/logrotate.conf -s /config/log/logrotate.status#g' /etc/periodic/daily/logrotate # buildkit
COPY root/ / # buildkit
EXPOSE map[443/tcp:{} 80/tcp:{}]
ARG BUILD_DATE
ARG VERSION=0.0.2
ARG CERTBOT_VERSION
LABEL build_version=Linuxserver.io version:- 0.0.2 Build-date:-
LABEL maintainer=nemchik
ENV DHLEVEL=2048 ONLY_SUBDOMAINS=false AWS_CONFIG_FILE=/config/dns-conf/route53.ini S6_BEHAVIOUR_IF_STAGE2_FAILS=2
RUN |3 BUILD_DATE= VERSION=0.0.2 CERTBOT_VERSION= /bin/sh -c echo "**** install build packages ****" && apk add --no-cache --virtual=build-dependencies build-base cargo libffi-dev libxml2-dev libxslt-dev openssl-dev python3-dev && echo "**** install runtime packages ****" && apk add --no-cache fail2ban gnupg inotify-tools iptables-legacy memcached nginx-mod-http-brotli nginx-mod-http-dav-ext nginx-mod-http-echo nginx-mod-http-fancyindex nginx-mod-http-geoip2 nginx-mod-http-headers-more nginx-mod-http-image-filter nginx-mod-http-perl nginx-mod-http-redis2 nginx-mod-http-set-misc nginx-mod-http-upload-progress nginx-mod-http-xslt-filter nginx-mod-mail nginx-mod-rtmp nginx-mod-stream nginx-mod-stream-geoip2 nginx-vim php84-bcmath php84-bz2 php84-dom php84-exif php84-ftp php84-gd php84-gmp php84-imap php84-intl php84-ldap php84-mysqli php84-mysqlnd php84-opcache php84-pdo_mysql php84-pdo_odbc php84-pdo_pgsql php84-pdo_sqlite php84-pear php84-pecl-apcu php84-pecl-memcached php84-pecl-redis php84-pgsql php84-posix php84-soap php84-sockets php84-sodium php84-sqlite3 php84-tokenizer php84-xmlreader php84-xsl whois && echo "**** install certbot plugins ****" && if [ -z ${CERTBOT_VERSION+x} ]; then CERTBOT_VERSION=$(curl -sL https://pypi.python.org/pypi/certbot/json |jq -r '. | .info.version'); fi && python3 -m venv /lsiopy && pip install -U --no-cache-dir pip wheel && pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.22/ certbot==${CERTBOT_VERSION} certbot-dns-acmedns certbot-dns-aliyun certbot-dns-azure certbot-dns-bunny certbot-dns-cloudflare certbot-dns-cpanel certbot-dns-desec certbot-dns-digitalocean certbot-dns-directadmin certbot-dns-dnsimple certbot-dns-dnsmadeeasy certbot-dns-dnspod certbot-dns-do certbot-dns-domeneshop certbot-dns-dreamhost certbot-dns-duckdns certbot-dns-dynudns certbot-dns-freedns certbot-dns-gehirn certbot-dns-glesys certbot-dns-godaddy certbot-dns-google certbot-dns-he certbot-dns-hetzner certbot-dns-infomaniak certbot-dns-inwx certbot-dns-ionos certbot-dns-linode certbot-dns-loopia certbot-dns-luadns certbot-dns-namecheap certbot-dns-netcup certbot-dns-njalla certbot-dns-nsone certbot-dns-ovh certbot-dns-porkbun certbot-dns-rfc2136 certbot-dns-route53 certbot-dns-sakuracloud certbot-dns-standalone certbot-dns-transip certbot-dns-vultr certbot-plugin-gandi cryptography future requests && echo "**** enable OCSP stapling from base ****" && sed -i 's|#ssl_stapling on;|ssl_stapling on;|' /defaults/nginx/ssl.conf.sample && sed -i 's|#ssl_stapling_verify on;|ssl_stapling_verify on;|' /defaults/nginx/ssl.conf.sample && sed -i 's|#ssl_trusted_certificate /config/keys/cert.crt;|ssl_trusted_certificate /config/keys/cert.crt;|' /defaults/nginx/ssl.conf.sample && echo "**** remove stream.conf ****" && rm -f /etc/nginx/conf.d/stream.conf && echo "**** correct ip6tables legacy issue ****" && rm /usr/sbin/ip6tables && ln -s /usr/sbin/ip6tables-nft /usr/sbin/ip6tables && echo "**** remove unnecessary fail2ban filters ****" && rm /etc/fail2ban/jail.d/alpine-ssh.conf && echo "**** copy fail2ban default action and filter to /defaults ****" && mkdir -p /defaults/fail2ban && mv /etc/fail2ban/action.d /defaults/fail2ban/ && mv /etc/fail2ban/filter.d /defaults/fail2ban/ && echo "**** define allowipv6 to silence warning ****" && sed -i 's/#allowipv6 = auto/allowipv6 = auto/g' /etc/fail2ban/fail2ban.conf && echo "**** copy proxy confs to /defaults ****" && mkdir -p /defaults/nginx/proxy-confs && curl -o /tmp/proxy-confs.tar.gz -L "https://github.com/linuxserver/reverse-proxy-confs/tarball/master" && tar xf /tmp/proxy-confs.tar.gz -C /defaults/nginx/proxy-confs --strip-components=1 --exclude=linux*/.editorconfig --exclude=linux*/.gitattributes --exclude=linux*/.github --exclude=linux*/.gitignore --exclude=linux*/LICENSE && printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && echo "**** cleanup ****" && apk del --purge build-dependencies && rm -rf /tmp/* $HOME/.cache $HOME/.cargo # buildkit
COPY root/ / # buildkit
EXPOSE map[443/tcp:{} 80/tcp:{}]
VOLUME [/config]

Labels

Key Value
build_version Linuxserver.io version:- 0.0.2 Build-date:-
maintainer nemchik
org.opencontainers.image.authors linuxserver.io
org.opencontainers.image.created 2025-07-18T19:34:53+00:00
org.opencontainers.image.description baseimage-alpine-nginx image by linuxserver.io
org.opencontainers.image.documentation https://docs.linuxserver.io/images/docker-baseimage-alpine-nginx
org.opencontainers.image.licenses GPL-3.0-only
org.opencontainers.image.ref.name 097e215939dd19cdac4ac13b930c3432ab8375d2
org.opencontainers.image.revision 097e215939dd19cdac4ac13b930c3432ab8375d2
org.opencontainers.image.source https://github.com/linuxserver/docker-baseimage-alpine-nginx
org.opencontainers.image.title Baseimage-alpine-nginx
org.opencontainers.image.url https://github.com/linuxserver/docker-baseimage-alpine-nginx/packages
org.opencontainers.image.vendor linuxserver.io
org.opencontainers.image.version 1.28.0-r3_8.4.10-r0-ls9
Details
Container
2025-07-22 11:02:30 -04:00
0
OCI / Docker
linux/amd64
linuxserver.io
GPL-3.0-only
126 MiB
Versions (5) View all
5316c58 2025-07-22
0.0 2025-07-22
0 2025-07-22
0.0.2 2025-07-22
latest 2025-07-22