Skip to content

Releases: nstapelbroek/docker-static-webserver

Envsubst filters

21 Apr 10:59
a3142ff
Compare
Choose a tag to compare

To better support Javascript Template literals we're changing the way this script finds and replaces environment variables. You can now pass a filter to prevent all variables from being replaced. This filter also prevents empty values from being replaced with empty strings.

envsubst is here

16 Oct 13:36
f38ca09
Compare
Choose a tag to compare

Since envsubst is now shipped with the nginx images, it makes no sense to have lots of custom bash code executing the find & replace logic. Therefore this new release relies on envsubst for finding & replacing environment variables.

What's Changed

Full Changelog

Added

  • Docker multiarch builds
  • A changelog to keep track of upgrading
  • Goss test config for serverspec like testing
  • CI and weekly image building with cirrus-ci

Fixed

  • Typo in license file
  • Healthchecks no longer show up in the accesslogs

Changed

  • Docker base image is now debain
  • BREAKING: Removed the custom bash script for a more stable an predictable envsubst implementation. Variables your files should no longer be prefixed with container.env. Example: {container.env.HOST} now becomes ${HOST}
  • BREAKING: Dropped s6 as init system becuase I now use the docker-entrypoint.sh from upstream nginx to replace the variables

Support for Symlinks

06 Apr 08:32
aed869c
Compare
Choose a tag to compare

We (together with @RickvdStaaij) altered some behaviour in the find & replace script to support symlinks. Because this is Altered behavior in the file locations a new major seems appropriate.