caddy-nomad (0.0.1)

Published 2023-07-07 17:34:13 +00:00 by hibas123

Installation

docker pull git.hibas.dev/hibas123/caddy-nomad:0.0.1
sha256:de0bd37fa27af701c4610a0013901807227f61ebd3a314eb27a1d4446eea20c3

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/979e498d6d01e1fe7c22db848a3e3bc65369183f/config/Caddyfile"; wget -O /usr/share/caddy/index.html "https://github.com/caddyserver/dist/raw/979e498d6d01e1fe7c22db848a3e3bc65369183f/welcome/index.html"
ENV CADDY_VERSION=v2.5.2
/bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in x86_64) binArch='amd64'; checksum='b19eb832e341f7bdb1c6fec2333564745a38f9aa814a14e7843a1b20468e0cdc6547977d3ae5a63d687dd7b9a68f90792e228020bf2481f916d9982322361632' ;; armhf) binArch='armv6'; checksum='de401bdf04f67647df89439292726c3a37d833edd7313a72fe47d45aa18c93aa6ef5b8718ffc8accb70cd356c0e62fc1a18808cd4e2de2357e80d44aef168d19' ;; armv7) binArch='armv7'; checksum='3fda191727748eb23805e0e765b5794333a31c265879d7d54af6ddaa94cef14534c8ea993a231cbf94855c388a9c9a613be64260e2a8add6cc8ae230c218c59e' ;; aarch64) binArch='arm64'; checksum='b71a6c7961b4b7acda6ec71b70db2e8695572196a283a56eb910d3da08867e6f298c6cf34c12ebc35235f3de3bc833109596b56a3560b03ca1c3bcdb53b59372' ;; ppc64el|ppc64le) binArch='ppc64le'; checksum='5c98c82b64dab878fdbd158d7b162c2bdb36ea9606b1c06b0c04ee2060e6a42f169c876c70eb3558acd37e25395c3ed1764c5753ede79a9e05dbf03cef69d410' ;; s390x) binArch='s390x'; checksum='7c86521e8d3e75899f91106863e46a43be3cd76b5ae63be81e735ad849182b0c08a98b7f8cdd3d975aed9b4e741ed02b42fa8435ca95d893bb00850a53b78a5c' ;; *) echo >&2 "error: unsupported architecture ($apkArch)"; exit 1 ;; esac; wget -O /tmp/caddy.tar.gz "https://github.com/caddyserver/caddy/releases/download/v2.5.2/caddy_2.5.2_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.5.2
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 2019
WORKDIR /srv
CMD ["caddy" "run" "--config" "/etc/caddy/Caddyfile" "--adapter" "caddyfile"]
COPY file:3b729b032416b790c0b8b0dc65bf2641982c0175723a3d84e42587e23104a9dc in /usr/bin/caddy
/bin/sh -c apk add --no-cache tini
COPY file:8564a46a9f78da7f625400755a740b74aedc4d302312b14489f8b2871395cf9f in /
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/signal-handler.sh", "caddy", "run", "--config", "/etc/caddy/Caddyfile", "--adapter", "caddyfile"]

Labels

Key Value
io.buildah.version 1.26.1
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.5.2
Details
Container
2023-07-07 17:34:13 +00:00
0
OCI / Docker
linux/amd64
Apache-2.0
31 MiB
Versions (6) View all
latest 2023-07-07
2.6 2023-07-07
2.6.4 2023-07-07
0.0.1 2023-07-07
0.0.2 2023-07-07