Commit Graph
51 Commits
Author SHA1 Message Date
Konstantin PavlovandAlejandro Colomar e9c1954dc2 Tools: Added setup-unit.
Downloaded from <https://unit.nginx.org/_downloads/setup-unit.sh>.

Acked-by: Artem Konev <a.konev@f5.com>
Acked-by: Konstantin Pavlov <thresh@nginx.com>
Signed-off-by: Alejandro Colomar <alx@nginx.com>
2022-11-22 13:55:06 +01:00
Konstantin Pavlov 894a2620a7 Propagated NXT_RUBY_CFLAGS to Ruby checks.
This fixes an issue addressed in 651f5a37f5b8 on FreeBSD 12.

The problem manifested itself as:

configuring Ruby module
checking for -fdeclspec ... found
checking for Ruby library ... not found
checking for Ruby library in /usr/local/lib ... not found

./configure: error: no Ruby found.
2022-11-16 18:37:35 +04:00
Konstantin Pavlov 2ac4a7527d Packages: relaxed dependencies between modules and base package.
This allows us to update base or single modules packages without
updating the whole set.
2022-11-04 16:52:19 +04:00
Konstantin Pavlov 11f416878a Packages: added Python 3.8 and Python 3.9 modules on RHEL 8 clones.
Refs: https://github.com/nginx/unit/issues/778
2022-11-04 13:55:16 +04:00
Konstantin Pavlov 4924bd185d Regenerated Dockerfiles. 2022-09-09 17:45:58 +04:00
Konstantin Pavlov 38350c17fc Docker: bumped language versions, moved jsc11 to eclipse-temurin.
openjdk builds are no longer provided in the docker library due to deprecation.
2022-09-09 16:17:42 +04:00
Konstantin Pavlov 97124fc349 Packaging: removed support for SLES and derivatives.
The packages were never built for those OSes.
2022-06-21 15:04:19 +04:00
Konstantin Pavlov 637a2006a6 Packages: cleanup targets that are not supported anymore. 2022-06-20 18:20:11 +04:00
Konstantin Pavlov d220eb2996 Packages: dropped /etc/unit directory.
It's never used.
2022-06-20 10:53:24 +04:00
Konstantin Pavlov e42c52cff6 Switched changelogs to packaging alias instead of personal emails. 2022-06-20 18:21:43 +04:00
Konstantin Pavlov 3d53bba5b3 Packaging: added support for RHEL 9. 2022-05-31 18:35:39 +04:00
Konstantin Pavlov 237ddbe177 Packaging: Go: use GO111MODULE=auto in build instructions. 2022-05-26 10:52:58 +04:00
Konstantin Pavlov 3e06ae3b34 Packages: ship README.md and CONTRIBUTING.md. 2022-05-16 17:22:40 +04:00
Konstantin Pavlov b512eff4ac Packages: added Ubuntu 22.04 "jammy" support. 2022-05-05 13:25:52 +04:00
Konstantin Pavlov 1fe389c2e2 Regenerated Dockerfiles. 2022-05-11 13:06:17 +04:00
Konstantin Pavlov 967fa8f78a Docker: bumped language versions. 2022-05-11 12:59:39 +04:00
Konstantin Pavlov 485886d8f9 Docker: bumped Python image version. 2022-01-13 11:35:12 +03:00
Konstantin Pavlov 6507849282 Docker: bumped PHP image version. 2021-12-17 17:15:55 +03:00
Konstantin Pavlov 3e0ece20b5 Docker: made Dockerfiles architecture agnostic. 2021-12-01 18:34:20 +03:00
Konstantin Pavlov 380f2dc2ba Docker: respect the binary from CMD in the entrypoint. 2021-11-30 17:00:47 +03:00
Konstantin Pavlov c58601c11f Docker: respect the binary from CMD in the entrypoint. 2021-11-30 17:00:47 +03:00
Konstantin Pavlov 2fc64c65bc Regenerated Dockerfiles. 2021-09-21 14:03:54 +03:00
Konstantin Pavlov d51b3bbfeb Docker: bumped versions.
Minimal image now uses Debian 11 "Bullseye" as a base.

Language versions are bumped to:
- Go 1.17
- Node 16
- Perl 5.34
- Ruby 3.0
2021-09-21 14:03:23 +03:00
Konstantin Pavlov d5889d7daa Packages: fixed Amazon Linux 2 module packages to use openssl 1.1 2021-04-12 18:39:45 +03:00
Konstantin Pavlov 30922c5741 Packages: moved Amazon Linux 2 packages to use openssl 1.1 2021-04-08 10:55:30 +03:00
Konstantin Pavlov d62192738f Packages: added man page on rpm-based systems. 2021-03-24 18:45:45 +03:00
Konstantin Pavlov 4a2dcb46dd Packages: added man page on debian-based systems. 2021-03-24 18:45:45 +03:00
Konstantin Pavlov b33babceda Added build system support for a man page. 2021-03-24 18:45:45 +03:00
Konstantin Pavlov 958bc90caa Regenerated Dockerfiles. 2021-02-05 15:54:51 +03:00
Konstantin Pavlov 6dbb36a537 Docker: added curl run-time dependency.
It is needed for docker-entrypoint scripts to work.
2021-02-05 14:48:52 +03:00
Konstantin Pavlov d4d704bc7f Docker: reverted 44154b830401.
Automatic synchronisation is now set up, so manual pushes to AWS ECR are
discouraged.
2021-02-02 16:46:10 +03:00
Konstantin Pavlov 510bdf15be Regenerated Dockerfiles. 2021-02-01 18:05:12 +03:00
Konstantin Pavlov 65295c8141 Packages: check and create unit user on each post-script invocation. 2020-12-22 12:57:24 +03:00
Konstantin Pavlov a5fa9673d9 Packages: added pcre2 to build depends.
While at it, propagate unit build depends to modules.
2020-11-24 14:27:06 +03:00
Konstantin Pavlov 9c09bc1772 Packages: dropped support for non-systemd distributions. 2020-11-24 13:25:09 +03:00
Konstantin Pavlov 783cdc2a3d Docker: creating tags and pushing to AWS ECR as well. 2020-12-02 17:33:09 +03:00
Konstantin Pavlov bebc3746ca Regenerated dockerfiles. 2020-09-22 15:55:28 +03:00
Konstantin Pavlov 5a8adce8c2 Ensure docker images are using latest versions of base OS packages. 2020-09-22 15:55:28 +03:00
Konstantin Pavlov e0f66cbba0 Added jsc11 docker image. 2020-09-22 15:55:28 +03:00
Konstantin Pavlov 55bac9153b Docker: run entrypoint scripts for unitd-debug as well. 2020-07-13 15:06:26 +03:00
Konstantin Pavlov bac93637ed Fixed filepath in the image checksum file. 2020-03-19 13:16:37 +03:00
Konstantin Pavlov 3b94102f20 Added checksum generation to make dist target.
While at it, clean up dist artifacts on make clean.
2020-03-13 17:42:08 +03:00
Konstantin Pavlov 7181a661c5 Added a target to export docker images as tarballs 2020-03-13 17:35:47 +03:00
Konstantin Pavlov 9a7881d131 Regenerated Dockerfiles. 2019-11-20 18:24:50 +03:00
Konstantin Pavlov c87111cbb2 Moved docker images to Debian 10 "buster".
This changes the language versions we provide:
 - python 3.5 -> python 3.7
 - go 1.7/1.8 -> go 1.11
 - perl 5.24 -> perl 5.28
 - ruby 2.3 -> ruby 2.5
 - php 7.0 -> php 7.3
2019-11-20 18:24:46 +03:00
Konstantin Pavlov f5e86ad8fc Regenerated Dockerfiles. 2019-10-03 15:08:50 +03:00
Konstantin Pavlov c6df631bcc Docker: added an entrypoint to make configuration easier.
Docker images now accept shell scripts, json files and certificate chain
bundles to provide configuration on a container start by placing them
into /docker-entrypoint.d/ directory.
2019-10-03 15:08:44 +03:00
Konstantin Pavlov 5c6b01d76c Packaging: debian: drop a surplus line from init script 2019-09-25 16:19:31 +03:00
Konstantin Pavlov 919230a21e Packaging: debian: changed NAME in the init script
This fixes the following issues:
 - inability to stop unit daemon
 - default configuration from /etc/default/unit are not propagated to the daemon
2019-09-25 16:18:19 +03:00
Konstantin Pavlov 311db93f00 Generated Dockerfiles for unit 0.4. 2018-01-30 19:09:57 +03:00
Konstantin Pavlov 23268a1cd1 Introduced docker images building tools. 2018-01-30 17:20:28 +03:00