Skip to content

Conversation

dima11051994
Copy link

We need to update nginx version for our services, but we still want to have our custom logic (installing VTS module) to be present in new images. So, that's why we just want to merge all the upstream changes to our fork.

thresheek and others added 30 commits March 4, 2020 16:11
Added:
- arm32v7 for Alpine
- arm32v5 and mips64le for Debian
This allows to launch configuration scripts on the start of container.
This aims to fix #394.

IPv6 will not be enabled if /proc/net/if_inet6 is not available inside a
container or a default.conf differs from the one installed by the
package manager.  Those who modify default.conf are considered savvy
enough to enable ipv6 via custom configuration.
This entrypoint script will look for files in /etc/nginx/templates/ with
a ".conf.template" suffix, run them through envsubst replacing defined
environment variables, and output to /etc/nginx/conf.d/ preserving file
name sans .template.

Fixes #232.
- remove undefined behaviour from the if statements
- exit early if a file already has an ipv6 listen
- fixed md5sum check
Additionally, ignore folders that could match suffixes.
- allow to run with nginx-debug cmd
- prevent running if /docker-entrypoint.d was replaced with unreadable
  or empty dir
- don't run find multiple times
A POSIX compatible sh is guaranteed to be available as /bin/sh. By not
using /usr/bin/env simply whitelisting /docker-entrypoint.sh within
mandatory access control frameworks, such as AppArmor, is sufficient.
When /usr/bin/env is used /docker-entrypoint.sh and the shell that
provides sh (e.g. /bin/dash for debian based images) need to be
whitelisted, increasing the possible attack area, by providing access
to a full shell.
thresheek and others added 30 commits February 5, 2025 13:27
While at it, updated njs to 0.8.10 for mainline.
While at it, bump njs and otel to contemporary versions as well.
This makes sure all keys are exported to a keyring archive, as opposed
to only the first key.
…for.

mainline is now based on trixie, which removes mips64le and adds
riscv64.

stable is currently kept as-is.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.