Fix openvpn problems, remove tinyproxy, move dockerfile to ubuntu 18.04 as alpine crashes

This commit is contained in:
Eldwan Brianne
2021-02-15 18:44:10 +01:00
parent 88d05f44e0
commit b71fa6764c
10 changed files with 85 additions and 125 deletions

View File

@@ -28,9 +28,7 @@ wanted_variables = {
variables_to_persist = {}
for env_var in os.environ:
if env_var.startswith('WEBPROXY_'):
variables_to_persist[env_var] = os.environ.get(env_var)
elif env_var in wanted_variables:
if env_var in wanted_variables:
variables_to_persist[env_var] = os.environ.get(env_var)