adr_website (latest)
Published 2024-05-07 19:49:06 +00:00 by adelorenzo
Installation
docker pull git.oe74.net/adelorenzo/adr_website:latest
sha256:b0af468a76d0c6c7daf12f9a85d93fad11fcd845a5d93dc354c075346979c166
About this package
a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go
Image Layers
ADD file:6dc287a22d6cc7723b0576dd3a9a644468d133c54d42c8a8eda403e3117648f7 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"] |
COPY public /usr/share/caddy # buildkit |
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.7.6 |