Yle moved to pure NGINX with extra logic done with NJS. This version is no longer maintained.
Scripts for building a Docker image of nginx with the nginx-clojure module. This is made for Yle, but should be generic.
Docker images built by Yle can be found in Docker Hub as yleisradio/yle-nginx-clojure.
- Docker and Docker compose
- Basic developer tooling, like Make and curl
- Set
NGINX_VERSION
andNGINX_CLOJURE_VERSION
variables in theVERSIONS
file. - Run
make shasums
to update SHA sums and add them to repository. - Run
make test
to build and test theyle-nginx-clojure
image.
To disable Docker's caching set environment variable DOCKER_BUILD_OPTIONS
:
DOCKER_BUILD_OPTIONS="--no-cache --force-rm" make
Bug reports and pull requests are welcome on GitHub at https://github.com/Yleisradio/yle-nginx-clojure. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.