File tree 2 files changed +5
-3
lines changed
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
2
2
3
3
FROM alpine:3.19.0
4
4
5
- ARG GIT_DESCRIBE
5
+ ARG GIT_DESCRIBE= "unknown"
6
6
ARG ACMESH_VERSION=3.0.7
7
7
8
- ENV COMPANION_VERSION=$GIT_DESCRIBE \
8
+ ENV ACMESH_VERSION=${ACMESH_VERSION} \
9
+ COMPANION_VERSION=${GIT_DESCRIBE} \
9
10
DOCKER_HOST=unix:///var/run/docker.sock \
10
- PATH=$PATH:/app
11
+ PATH=${ PATH} :/app
11
12
12
13
# Install packages required by the image
13
14
RUN apk add --no-cache --virtual .bin-deps \
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ function update_cert {
133
133
# Base CLI parameters array, used for both --register-account and --issue
134
134
local -a params_base_arr
135
135
params_base_arr+=(--log /dev/null)
136
+ params_base_arr+=(--useragent " nginx-proxy/acme-companion/$COMPANION_VERSION (acme.sh/$ACMESH_VERSION )" )
136
137
[[ " $DEBUG " == 1 ]] && params_base_arr+=(--debug 2)
137
138
138
139
# Alternative trusted root CA path, used for test with Pebble
You can’t perform that action at this time.
0 commit comments