mirror of
https://github.com/casjaysdevdocker/caddy
synced 2025-01-18 12:34:23 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
553e65338b
commit
4fc1712fa7
@ -28,12 +28,10 @@ ENV XDG_CONFIG_HOME /config
|
|||||||
ENV XDG_DATA_HOME /data
|
ENV XDG_DATA_HOME /data
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
apk -U upgrade && apk add jq curl --no-cache ; \
|
||||||
export XCADDY_SETCAP=1; \
|
export XCADDY_SETCAP=1; \
|
||||||
export version=$(curl -q -LSsf "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 && \
|
|
||||||
apk add jq --no-cache && \
|
|
||||||
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} \
|
xcaddy build ${version} \
|
||||||
--output /caddy \
|
--output /caddy \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user