Open wkpatrick opened 1 year ago
I'm noticing the same issue in an OpenShift BuildConfig. Is there a fix/workaround?
EDIT: I was able to get it working by force unsetting the vars inline with the mix assets.deploy
command, but I'd rather not have to do that.
Here is the relevant section of my Containerfile:
RUN unset HTTPS_PROXY && unset HTTP_PROXY \
&& mix deps.get --only prod \
&& mix deps.compile \
&& mix assets.deploy \
&& mix compile \
&& mix release
Problem
Builds run in WoodpeckerCI fail due to it setting HTTPS_PROXY to some value by default that does not match what this library expects.
Solution
Should the library silently (or with a log message, but still continue running) continue without setting a proxy when URI.parse cant parse the environment variable? If so, id be happy to get a PR up this weekend for that.