knope.dev (sha256:47d44432488033783df5c14b79a1510ff60d1fc23d1bd94cfbee07ae94dc595f)

Published 2026-05-17 18:25:25 +00:00 by jfro

Installation

docker pull git.knope.dev/jfro/knope.dev@sha256:47d44432488033783df5c14b79a1510ff60d1fc23d1bd94cfbee07ae94dc595f
sha256:47d44432488033783df5c14b79a1510ff60d1fc23d1bd94cfbee07ae94dc595f

Image layers

ADD alpine-minirootfs-3.23.4-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c apk add --no-cache lighttpd && mkdir -p /var/www /var/log/lighttpd /run/lighttpd && chown -R lighttpd:lighttpd /var/www /var/log/lighttpd /run/lighttpd # buildkit
COPY /src/public /var/www/ # buildkit
RUN /bin/sh -c cat > /etc/lighttpd/lighttpd.conf <<'EOF' server.modules = ( "mod_access", "mod_compress", "mod_expire" ) server.document-root = "/var/www" server.port = 80 server.username = "lighttpd" server.groupname = "lighttpd" server.pid-file = "/run/lighttpd/lighttpd.pid" # MIME types mimetype.assign = ( ".html" => "text/html", ".htm" => "text/html", ".txt" => "text/plain", ".css" => "text/css", ".js" => "text/javascript", ".json" => "application/json", ".xml" => "application/xml", ".atom" => "application/atom+xml", ".rss" => "application/rss+xml", ".jpg" => "image/jpeg", ".jpeg" => "image/jpeg", ".png" => "image/png", ".gif" => "image/gif", ".svg" => "image/svg+xml", ".ico" => "image/x-icon", ".webp" => "image/webp", ".woff" => "font/woff", ".woff2" => "font/woff2", ".ttf" => "font/ttf", ".otf" => "font/otf", ".pdf" => "application/pdf", ".webmanifest" => "application/manifest+json", "" => "application/octet-stream" ) # Compression compress.cache-dir = "/tmp/lighttpd/compress" compress.filetype = ( "text/html", "text/plain", "text/css", "text/javascript", "application/javascript", "application/json", "application/xml", "application/atom+xml", "application/rss+xml", "image/svg+xml" ) # Cache headers for static assets $HTTP["url"] =~ "\.(css|js|jpg|jpeg|png|gif|ico|svg|woff|woff2|ttf|otf)$" { expire.url = ( "" => "access plus 14 days" ) } # Index files index-file.names = ( "index.html" ) # Logging server.errorlog = "/var/log/lighttpd/error.log" EOF # buildkit
RUN /bin/sh -c mkdir -p /tmp/lighttpd/compress && chown -R lighttpd:lighttpd /tmp/lighttpd # buildkit
EXPOSE [80/tcp]
USER lighttpd
CMD ["lighttpd" "-D" "-f" "/etc/lighttpd/lighttpd.conf"]
Details
Container
2026-05-17 18:25:25 +00:00
1
OCI / Docker
linux/amd64
6.6 MiB
Versions (3) View all