From 4fc1712fa76f732531df392b5ea965880f4a0c36 Mon Sep 17 00:00:00 2001 From: casjay Date: Thu, 16 Mar 2023 11:31:29 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3fd6d6c..c54e4d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,12 +28,10 @@ ENV XDG_CONFIG_HOME /config ENV XDG_DATA_HOME /data RUN set -ex \ + apk -U upgrade && apk add jq curl --no-cache ; \ 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); \ - echo ">>>>>>>>>>>>>>> ${version} ###############" - -RUN apk -U upgrade && \ - apk add jq --no-cache && \ + echo ">>>>>>>>>>>>>>> ${version} ###############" ; \ go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest || exit 10; \ xcaddy build ${version} \ --output /caddy \