From d200ffe7cc8232dafe89e09d8a1ef2f017552aea Mon Sep 17 00:00:00 2001 From: syrell Date: Wed, 12 Jun 2024 22:23:31 +0200 Subject: [PATCH] feat: Added service name in VERSION vars for consistency --- README.adoc | 4 ++-- caddy-arm-duckdns.Dockerfile | 6 +++--- caddy-duckdns.Dockerfile | 6 +++--- gitea-external-renderers.Dockerfile | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.adoc b/README.adoc index 0c6c146..f5a3df1 100644 --- a/README.adoc +++ b/README.adoc @@ -21,7 +21,7 @@ Caddy base image with https://github.com/caddy-dns/duckdns[duckdns module] added [source,shell] ---- -docker build --build-arg VERSION=2.8.4 -f ./caddy-duckdns.Dockerfile -t caddy-duckdns:2.8.4 . +docker build --build-arg CADDY_VERSION=2.8.4 -f ./caddy-duckdns.Dockerfile -t caddy-duckdns:2.8.4 . ---- === caddy-docker-ovh.Dockerfile @@ -39,5 +39,5 @@ Gitea base image (rootless) with https://docs.gitea.com/administration/external- [source,shell] ---- -docker build --build-arg VERSION=1.22.0 -f ./gitea-external-renderers.Dockerfile -t gitea-external-renderers:1.22.0 . +docker build --build-arg GITEA_VERSION=1.22.0 -f ./gitea-external-renderers.Dockerfile -t gitea-external-renderers:1.22.0 . ---- \ No newline at end of file diff --git a/caddy-arm-duckdns.Dockerfile b/caddy-arm-duckdns.Dockerfile index 88cc7d7..4e0e521 100644 --- a/caddy-arm-duckdns.Dockerfile +++ b/caddy-arm-duckdns.Dockerfile @@ -1,8 +1,8 @@ -ARG VERSION=latest -FROM arm64v8/caddy:${VERSION}-builder AS builder +ARG CADDY_VERSION=latest +FROM arm64v8/caddy:${CADDY_VERSION}-builder AS builder RUN xcaddy build \ --with github.com/caddy-dns/duckdns -FROM arm64v8/caddy:${VERSION} +FROM arm64v8/caddy:${CADDY_VERSION} COPY --from=builder /usr/bin/caddy /usr/bin/caddy \ No newline at end of file diff --git a/caddy-duckdns.Dockerfile b/caddy-duckdns.Dockerfile index c7122ca..ea8355c 100644 --- a/caddy-duckdns.Dockerfile +++ b/caddy-duckdns.Dockerfile @@ -1,8 +1,8 @@ -ARG VERSION=latest -FROM caddy:${VERSION}-builder AS builder +ARG CADDY_VERSION=latest +FROM caddy:${CADDY_VERSION}-builder AS builder RUN xcaddy build \ --with github.com/caddy-dns/duckdns -FROM caddy:${VERSION} +FROM caddy:${CADDY_VERSION} COPY --from=builder /usr/bin/caddy /usr/bin/caddy \ No newline at end of file diff --git a/gitea-external-renderers.Dockerfile b/gitea-external-renderers.Dockerfile index 6775f6e..3727123 100644 --- a/gitea-external-renderers.Dockerfile +++ b/gitea-external-renderers.Dockerfile @@ -1,5 +1,5 @@ -ARG VERSION=latest -FROM gitea/gitea:${VERSION}-rootless +ARG GITEA_VERSION=latest +FROM gitea/gitea:${GITEA_VERSION}-rootless USER root RUN apk --no-cache add \