Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

Yleisradio/yle-nginx-clojure

Repository files navigation

Deprecated

Yle moved to pure NGINX with extra logic done with NJS. This version is no longer maintained.

Yle Nginx with Nginx-Clojure

Build Status

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.

Requirements

Building

  • Set NGINX_VERSION and NGINX_CLOJURE_VERSION variables in the VERSIONS file.
  • Run make shasums to update SHA sums and add them to repository.
  • Run make test to build and test the yle-nginx-clojure image.

Caching

To disable Docker's caching set environment variable DOCKER_BUILD_OPTIONS:

DOCKER_BUILD_OPTIONS="--no-cache --force-rm" make

Contributing

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.

License

The gem is available as open source under the terms of the MIT License.