This repository has been archived by the owner on Jul 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 124
Upstream now uses debian-stretch and newer version of bash that breaks start.sh substitutions #16
Comments
I tried making a more verbose conditional to achieve the same result, but this errors too:
With bash 4.4, I can't seem to find a way to 'test' if a variable's value is actually a VAR name I can use an indirect reference with. If I try to "test" it with an if statement, it just tells me bad substitution if the indirect reference attempt references an unset variable. |
As of at least today, I'm getting bash 4.4.12 when building the
|
can reproduce on mac:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The entrypoint script for this container uses parameter substitutions like this:
If you build a container from this today, it will no longer start correctly. The upstream container (FROM nginx) has been updated to a newer OS version (debian stretch) which comes with a newer version of bash (4.4.11(1)-release) which no longer permits this type of substitution.
The errors look like the following when start.sh is run, which then causes errors for nginx startup because the parameters weren't substituted in correctly:
The text was updated successfully, but these errors were encountered: