caddy (latest)

Published 2022-10-11 13:13:44 +00:00 by alberth

Installation

docker pull gitea.bicc.de/bicc/caddy:latest
sha256:df82f15ae9a34c327a59aae84ae61cd9ba7b83662e42c525a68a5740c331d0dc

About this package

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

Image Layers

ADD file:2a949686d9886ac7c10582a6c29116fd29d3077d02755e87e111870d63607725 in /
CMD ["/bin/sh"]
/bin/sh -c apk add --no-cache ca-certificates mailcap
/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/8c5fc6fc265c5d8557f17a18b778c398a2c6f27b/config/Caddyfile"; wget -O /usr/share/caddy/index.html "https://github.com/caddyserver/dist/raw/8c5fc6fc265c5d8557f17a18b778c398a2c6f27b/welcome/index.html"
ENV CADDY_VERSION=v2.6.1
/bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in x86_64) binArch='amd64'; checksum='fc0c0c115ad0f4e7ca5622dedb95c5c4bc5fc5a44731aa63c6cbc6307d3e6dfe3ae040d6580e2064c5c84bded165c768cac0125fdb9418c923272ccd7fdf19ed' ;; armhf) binArch='armv6'; checksum='9aa52d748e45069ce15274b09737e5806b5aa355c4e32cdc187d478bdd5c1cf22398e0ac365933f64386d79b11860246b8340a740a25644a8bfa6ed032bc5b2f' ;; armv7) binArch='armv7'; checksum='d5b026c9f6d4f2aeb9058d6d990d6420439985bd8cbb18f028c6adc7f6a22d3d28a6478958117dbb5051d6537f3b8a9bb61ec8cfa631e33032c7000fa0c44c83' ;; aarch64) binArch='arm64'; checksum='92a2310ba12a790d632a288c285c2aa7be16eb3521212f78644c07d1c65d7f27ec81823a10e7ea4a200a013cb557d335a06c95c94fdf1f2359f47f4974b6e37a' ;; ppc64el|ppc64le) binArch='ppc64le'; checksum='c12b3660a7cf0b359d8153bc6be4b7dedf1168e7984fccbf6cf804abaefcbf5edd10651de6c0f7541e8eaefbcdc25eb00b5c2500b8b445e7f8a9382e0fa3ced1' ;; s390x) binArch='s390x'; checksum='da1d8d60547de3122603134394b3e2bbe18b7fbecc0bba0d24352c7dd765bec6f2cadc93b00ae69369f14e1800a2318cc94af3ab940710a622bf7be4f713bf0b' ;; *) echo >&2 "error: unsupported architecture ($apkArch)"; exit 1 ;; esac; wget -O /tmp/caddy.tar.gz "https://github.com/caddyserver/caddy/releases/download/v2.6.1/caddy_2.6.1_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; chmod +x /usr/bin/caddy; caddy version
/bin/sh -c [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
ENV XDG_CONFIG_HOME=/config
ENV XDG_DATA_HOME=/data
LABEL org.opencontainers.image.version=v2.6.1
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 80
EXPOSE 443
EXPOSE 443/udp
EXPOSE 2019
WORKDIR /srv
CMD ["caddy" "run" "--config" "/etc/caddy/Caddyfile" "--adapter" "caddyfile"]
ENV PHP_FPM_ADDRESS=localhost:9000
/bin/sh -c set -x && apk add libcap
COPY file:d1d0c1a77fd2737a7e54200e6f5fb07211be68be16b5de44ab3797827d2f0e11 in /usr/bin/caddy
COPY file:fc61b7be082418318269288fdb83416f3246153c63a99450dc3b293bcde05fea in /etc/caddy/Caddyfile
COPY dir:985b8947ee31835efd1f0b8410c0a9363158ad7215fcff5c0a3f5db1f4eeb633 in /etc/caddy/error
/bin/sh -c setcap cap_net_bind_service=+ep /usr/bin/caddy
WORKDIR /etc/caddy

Labels

Key Value
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.source https://github.com/caddyserver/caddy-docker
org.opencontainers.image.title Caddy
org.opencontainers.image.url https://caddyserver.com
org.opencontainers.image.vendor Light Code Labs
org.opencontainers.image.version v2.6.1
Details
Container
2022-10-11 13:13:44 +00:00
0
OCI / Docker
linux/amd64
Apache-2.0
49 MiB
Versions (2) View all
2 2022-10-11
latest 2022-10-11