File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,13 @@ FROM nginxproxy/docker-gen:0.11.1 AS docker-gen
22
33FROM alpine:3.19.0
44
5- ARG GIT_DESCRIBE
5+ ARG GIT_DESCRIBE= "unknown"
66ARG ACMESH_VERSION=3.0.7
77
8- ENV COMPANION_VERSION=$GIT_DESCRIBE \
8+ ENV ACMESH_VERSION=${ACMESH_VERSION} \
9+ COMPANION_VERSION=${GIT_DESCRIBE} \
910 DOCKER_HOST=unix:///var/run/docker.sock \
10- PATH=$PATH:/app
11+ PATH=${ PATH} :/app
1112
1213# Install packages required by the image
1314RUN apk add --no-cache --virtual .bin-deps \
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ function update_cert {
133133 # Base CLI parameters array, used for both --register-account and --issue
134134 local -a params_base_arr
135135 params_base_arr+=(--log /dev/null)
136+ params_base_arr+=(--useragent " nginx-proxy/acme-companion/$COMPANION_VERSION (acme.sh/$ACMESH_VERSION )" )
136137 [[ " $DEBUG " == 1 ]] && params_base_arr+=(--debug 2)
137138
138139 # Alternative trusted root CA path, used for test with Pebble
You can’t perform that action at this time.
0 commit comments