File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ARG DOCKER_IMAGE_VERSION=
99
1010# Define software versions.
1111ARG OPENRESTY_VERSION=1.27.1.1
12- ARG NGINX_PROXY_MANAGER_VERSION=2.12.3
12+ ARG NGINX_PROXY_MANAGER_VERSION=2.12.6
1313ARG NGINX_HTTP_GEOIP2_MODULE_VERSION=3.3
1414ARG LIBMAXMINDDB_VERSION=1.5.0
1515ARG BCRYPT_TOOL_VERSION=1.1.2
Original file line number Diff line number Diff line change 11--- a/backend/lib/certbot.js
22+++ b/backend/lib/certbot.js
33@@ -63,7 +63,7 @@
4- plugin.version = plugin.version.replace(/{{certbot-version}}/g, CERTBOT_VERSION_REPLACEMENT );
5- plugin.dependencies = plugin.dependencies.replace(/{{certbot-version}}/g, CERTBOT_VERSION_REPLACEMENT);
4+ env = Object.assign(env, plugin.env );
5+ }
66
7- - const cmd = ' . /opt/certbot/bin/activate && pip install --no-cache-dir ' + plugin.dependencies + ' ' + plugin.package_name + plugin.version + ' ' + ' && deactivate' ;
8- + const cmd = ' pip install --no-cache-dir ' + plugin.dependencies + ' ' + plugin.package_name + plugin.version;
9- return utils.exec(cmd)
7+ - const cmd = ` . /opt/certbot/bin/activate && pip install --no-cache-dir ${ plugin.dependencies} ${ plugin.package_name}${ plugin.version} && deactivate` ;
8+ + const cmd = ` pip install --no-cache-dir ${ plugin.dependencies} ${ plugin.package_name}${ plugin.version}` ;
9+ return utils.exec(cmd, {env} )
1010 .then((result) => {
1111 logger.complete(`Installed ${pluginKey}`);
You can’t perform that action at this time.
0 commit comments