saintnet_caddy (latest)

Published 2024-11-18 23:10:14 -05:00 by stryan

Installation

docker pull git.saintnet.tech/stryan/saintnet_caddy:latest
sha256:b7acd63d35641ad586443a11cb5c005768b4e18658e9723dc7d789b65161e6d0

About this package

a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go

Image Layers

ADD file:8729f9c0258836b640e9e789c7ab029cf4547e0596557d54dd4a4d7d8e4a785f in /
CMD ["/bin/sh"]
RUN /bin/sh -c apk add --no-cache ca-certificates libcap mailcap # buildkit
RUN /bin/sh -c set -eux; mkdir -p /config/caddy /data/caddy /etc/caddy /usr/share/caddy ; wget -O /etc/caddy/Caddyfile "https://github.com/caddyserver/dist/raw/509c30cecd3cbc4012f6b1cc88d8f3f000fb06e4/config/Caddyfile"; wget -O /usr/share/caddy/index.html "https://github.com/caddyserver/dist/raw/509c30cecd3cbc4012f6b1cc88d8f3f000fb06e4/welcome/index.html" # buildkit
ENV CADDY_VERSION=v2.7.6
RUN /bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in x86_64) binArch='amd64'; checksum='b74311ec8263f30f6d36e5c8be151e8bc092b377789a55300d5671238b9043de5bd6db2bcefae32aa1e6fe94c47bbf02982c44a7871e5777b2596fdb20907cbf' ;; armhf) binArch='armv6'; checksum='88756642ca412db3a8da7a40b518861a6f524a8ac704021e8451d3cb38746f24243b1e561f4eec07e1575200d06bfd098783d2b7ee7ee07a971aed1c677da6e6' ;; armv7) binArch='armv7'; checksum='118776e879c280556abb7c03ff7c0081eda23c2aee0472aef176f733785e9501defaeaf334cd2443e31294809beafaea831d2e695aa68045160082aa3a966e2f' ;; aarch64) binArch='arm64'; checksum='62252ade5e8dcec13a66154ee1978d959370be049cce52e7c4edefff14ef70bbb21630e3735092719bc3c31214e89dff99e55970ff0adec8ac0a94c6415b059a' ;; ppc64el|ppc64le) binArch='ppc64le'; checksum='65d27fe53f5e4fa79f3476f8902071c907aab74db1a2616342be3714d4252219fbb53b174ef588e20c51e7cfac84376c7a0a608091c2fe83b31dbf59dabeb237' ;; s390x) binArch='s390x'; checksum='c562190962a2db0248a4190616dd2ebaa02df2cf62f1a2c71f9d9de18af2a297df8000a06a11e8d3929dfd64f0c081d1e61961687ca220007459f2dbd0be2c81' ;; *) echo >&2 "error: unsupported architecture ($apkArch)"; exit 1 ;; esac; wget -O /tmp/caddy.tar.gz "https://github.com/caddyserver/caddy/releases/download/v2.7.6/caddy_2.7.6_linux_${binArch}.tar.gz"; echo "$checksum /tmp/caddy.tar.gz" | sha512sum -c; tar x -z -f /tmp/caddy.tar.gz -C /usr/bin caddy; rm -f /tmp/caddy.tar.gz; setcap cap_net_bind_service=+ep /usr/bin/caddy; chmod +x /usr/bin/caddy; caddy version # buildkit
ENV XDG_CONFIG_HOME=/config
ENV XDG_DATA_HOME=/data
LABEL org.opencontainers.image.version=v2.7.6
LABEL org.opencontainers.image.title=Caddy
LABEL org.opencontainers.image.description=a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go
LABEL org.opencontainers.image.url=https://caddyserver.com
LABEL org.opencontainers.image.documentation=https://caddyserver.com/docs
LABEL org.opencontainers.image.vendor=Light Code Labs
LABEL org.opencontainers.image.licenses=Apache-2.0
LABEL org.opencontainers.image.source=https://github.com/caddyserver/caddy-docker
EXPOSE map[80/tcp:{}]
EXPOSE map[443/tcp:{}]
EXPOSE map[443/udp:{}]
EXPOSE map[2019/tcp:{}]
WORKDIR /srv
CMD ["caddy" "run" "--config" "/etc/caddy/Caddyfile" "--adapter" "caddyfile"]
/bin/sh -c mkdir -p /srv/certs
COPY file:ee80a9dbd675f59f3a601d658dfacecbada95afe8672ae241bbc76383dc014fb in /usr/bin/caddy
COPY file:2f29f4640ecce44dabf25287c4592f2bad2416c4d62b8faa9294592755e2174a in /usr/bin/
LABEL org.opencontainers.image.created=2024-11-19T04:09:00Z
LABEL org.opencontainers.image.revision=113ce74950a7c089be09f3c9b109ff2cf25eeac3
LABEL org.opencontainers.image.source=https://git.saintnet.tech/stryan/saintnet_caddy.git
LABEL org.opencontainers.image.url=https://git.saintnet.tech/stryan/saintnet_caddy

Labels

Key Value
org.opencontainers.image.created 2024-11-19T04:09:00Z
org.opencontainers.image.description a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go
org.opencontainers.image.documentation https://caddyserver.com/docs
org.opencontainers.image.licenses Apache-2.0
org.opencontainers.image.revision 113ce74950a7c089be09f3c9b109ff2cf25eeac3
org.opencontainers.image.source https://git.saintnet.tech/stryan/saintnet_caddy.git
org.opencontainers.image.title Caddy
org.opencontainers.image.url https://git.saintnet.tech/stryan/saintnet_caddy
org.opencontainers.image.vendor Light Code Labs
org.opencontainers.image.version v2.7.6
Details
Container
2024-11-18 23:10:14 -05:00
1315
OCI / Docker
linux/amd64
Apache-2.0
31 MiB
Versions (1) View all
latest 2024-11-18