🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-09-07 17:39:42 -04:00
parent d2ecefde27
commit 919eaf1fae
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -1,21 +1,22 @@
FROM casjaysdevdocker/golang:latest AS builder FROM golang:1.19-alpine as builder
ENV XDG_CONFIG_HOME /config ENV XDG_CONFIG_HOME /config
ENV XDG_DATA_HOME /data ENV XDG_DATA_HOME /data
RUN set -e \ RUN set -e \
export XCADDY_SETCAP=1; \ export XCADDY_SETCAP=1; \
export version=$(curl -s "https://api.github.com/repos/caddyserver/caddy/releases/latest" | jq -r .tag_name | grep '^' || exit 5); \ export version=$(curl -q -LSsf "https://api.github.com/repos/caddyserver/caddy/releases/latest" | jq -r .tag_name | grep '^' || exit 5); \
echo ">>>>>>>>>>>>>>> ${version} ###############" echo ">>>>>>>>>>>>>>> ${version} ###############"
RUN apk -U upgrade && \ RUN apk -U upgrade && \
go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest || exit 10; \ go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest || exit 10; \
xcaddy build ${version} --output /caddy \ xcaddy build ${version} \
--output /caddy \
--with github.com/caddy-dns/route53 \ --with github.com/caddy-dns/route53 \
--with github.com/caddy-dns/cloudflare \ --with github.com/caddy-dns/cloudflare \
--with github.com/caddy-dns/alidns \ --with github.com/caddy-dns/alidns \
--with github.com/caddy-dns/dnspod \ --with github.com/caddy-dns/dnspod \
--with github.com/caddy-dns/gandi \ --with github.com/caddy-dns/rfc2136 \
--with github.com/abiosoft/caddy-exec \ --with github.com/abiosoft/caddy-exec \
--with github.com/greenpau/caddy-trace \ --with github.com/greenpau/caddy-trace \
--with github.com/hairyhenderson/caddy-teapot-module \ --with github.com/hairyhenderson/caddy-teapot-module \