2418:86492e68bf6b | 07-Apr-2023 |
Konstantin Pavlov |
Docker: specified explicit variants of images to use. This allows us to decide when to move to a newer underlying distribution version with our pace instead of relying on Docker Hub cadence. |
2417:148da1a18675 | 07-Apr-2023 |
Konstantin Pavlov |
Docker: dropped a leftover from a multi-stage build. |
2416:a54ac88ab88b | 10-Apr-2023 |
Konstantin Pavlov |
Docker: check out packaging tags.
This will ensure we're checking out source code that is close to what we have in binary packages.
While at it, remove the checkout directory when it's no longer ne
Docker: check out packaging tags.
This will ensure we're checking out source code that is close to what we have in binary packages.
While at it, remove the checkout directory when it's no longer needed.
show more ...
|
2415:c1c81b9f23cf | 28-Mar-2023 |
Konstantin Pavlov |
Docker: fixed git references. |
2414:ee9911b9755a | 07-Apr-2023 |
Konstantin Pavlov |
Docker: drop apt-get clean usage. It's automatic in the Debian and Ubuntu containers: https://github.com/debuerreotype/debuerreotype/blob/5cf7949ecf1cec1afece267688bda64cd34a6817/scripts/debuerreotyp
Docker: drop apt-get clean usage. It's automatic in the Debian and Ubuntu containers: https://github.com/debuerreotype/debuerreotype/blob/5cf7949ecf1cec1afece267688bda64cd34a6817/scripts/debuerreotype-minimizing-config#L85-L109
show more ...
|
2413:b21a211149c8 | 07-Apr-2023 |
Konstantin Pavlov |
Docker: explicitely set uid/gid to 999 for unit user. This allows us to be consistent through possible updates of default settings used in distributions. Previous behaviour was uid/gid were chosen a
Docker: explicitely set uid/gid to 999 for unit user. This allows us to be consistent through possible updates of default settings used in distributions. Previous behaviour was uid/gid were chosen automatically based on what uids/gids are already taken on the system.
show more ...
|
2412:173709e7626b | 07-Apr-2023 |
Konstantin Pavlov |
Packages: use groupadd/useradd on Debian-based operating systems.
addgroup/adduser will no longer be installed by default in the "minbase". Also, moving to lower-level utilities saves us one runtim
Packages: use groupadd/useradd on Debian-based operating systems.
addgroup/adduser will no longer be installed by default in the "minbase". Also, moving to lower-level utilities saves us one runtime dependency.
show more ...
|
2411:c3152c0b65da | 07-Apr-2023 |
Konstantin Pavlov |
Docker: added OCI image-spec labels. |
2410:dd98df2badfa | 07-Apr-2023 |
Konstantin Pavlov |
Docker: specified explicit variants of images to use. This allows us to decide when to move to a newer underlying distribution version with our pace instead of relying on Docker Hub cadence. |
2409:e2bdc49a4918 | 07-Apr-2023 |
Konstantin Pavlov |
Docker: dropped a leftover from a multi-stage build. |
2408:643602c07cc0 | 10-Apr-2023 |
Konstantin Pavlov |
Docker: check out packaging tags.
This will ensure we're checking out source code that is close to what we have in binary packages.
While at it, remove the checkout directory when it's no longer ne
Docker: check out packaging tags.
This will ensure we're checking out source code that is close to what we have in binary packages.
While at it, remove the checkout directory when it's no longer needed.
show more ...
|
2407:6c89501fb4cf | 30-Mar-2023 |
Konstantin Pavlov |
Docker: added njs support. |
2397:817968931c58 | 22-Mar-2023 |
Alejandro Colomar |
Auto: mirroring installation structure in build tree.
This makes the build tree more organized, which is good for adding new stuff. Now, it's useful for example for adding manual pages in man3/, bu
Auto: mirroring installation structure in build tree.
This makes the build tree more organized, which is good for adding new stuff. Now, it's useful for example for adding manual pages in man3/, but it may be useful in the future for example for extending the build system to run linters (e.g., clang-tidy(1), Clang analyzer, ...) on the C source code.
Previously, the build tree was quite flat, and looked like this (after `./configure && make`):
$ tree -I src build build ├── Makefile ├── autoconf.data ├── autoconf.err ├── echo ├── libnxt.a ├── nxt_auto_config.h ├── nxt_version.h ├── unitd └── unitd.8
1 directory, 9 files
And after this patch, it looks like this:
$ tree -I src build build ├── Makefile ├── autoconf.data ├── autoconf.err ├── bin │ └── echo ├── include │ ├── nxt_auto_config.h │ └── nxt_version.h ├── lib │ ├── libnxt.a │ └── unit │ └── modules ├── sbin │ └── unitd ├── share │ └── man │ └── man8 │ └── unitd.8 └── var ├── lib │ └── unit ├── log │ └── unit └── run └── unit
17 directories, 9 files
It also solves one issue introduced in 5a37171f733f ("Added default values for pathnames."). Before that commit, it was possible to run unitd from the build system (`./build/unitd`). Now, since it expects files in a very specific location, that has been broken. By having a directory structure that mirrors the installation, it's possible to trick it to believe it's installed, and run it from there:
$ ./configure --prefix=./build $ make $ ./build/sbin/unitd
Fixes: 5a37171f733f ("Added default values for pathnames.") Reported-by: Liam Crilly <liam@nginx.com> Reviewed-by: Konstantin Pavlov <thresh@nginx.com> Reviewed-by: Andrew Clayton <a.clayton@nginx.com> Cc: Andrei Zeliankou <zelenkov@nginx.com> Cc: Zhidao Hong <z.hong@f5.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
show more ...
|
2396:06b2a49a4f81 | 27-Mar-2023 |
Alejandro Colomar |
Renamed --libstatedir to --statedir.
In BSD systems, it's usually </var/db> or some other dir under </var> that is not </var/lib>, so $statedir is a more generic name. See hier(7).
Reported-by: An
Renamed --libstatedir to --statedir.
In BSD systems, it's usually </var/db> or some other dir under </var> that is not </var/lib>, so $statedir is a more generic name. See hier(7).
Reported-by: Andrei Zeliankou <zelenkov@nginx.com> Reported-by: Zhidao Hong <z.hong@f5.com> Reviewed-by: Konstantin Pavlov <thresh@nginx.com> Reviewed-by: Andrew Clayton <a.clayton@nginx.com> Cc: Liam Crilly <liam@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
show more ...
|
2395:c1ff2f4d96ab | 28-Mar-2023 |
Konstantin Pavlov |
Docker: fixed git references. |
2394:9b85367ed09e | 28-Mar-2023 |
Konstantin Pavlov |
Regenerated Dockerfiles. |
2393:c12929da2a34 | 14-Feb-2023 |
Konstantin Pavlov |
Docker: bumped language versions. |
2392:7daea4f4973b | 14-Feb-2023 |
Konstantin Pavlov |
Docker: limited the waiting time for control socket creation. While at it, fixed a typo. |
2391:7101dcbb78d7 | 14-Feb-2023 |
Konstantin Pavlov |
Docker: made dockerfiles use a single stage build process. |
2390:b4c31ac53323 | 14-Feb-2023 |
Konstantin Pavlov |
Docker: added a target to generate Docker library definition. |
2389:ba8862068816 | 14-Feb-2023 |
Konstantin Pavlov |
Docker: cleanup unused targets. |
2387:324e8619b627 | 14-Feb-2023 |
Konstantin Pavlov |
Docker: bumped language versions. |
2386:8585f9fa616c | 14-Feb-2023 |
Konstantin Pavlov |
Docker: limited the waiting time for control socket creation. While at it, fixed a typo. |
2385:18320dd38392 | 14-Feb-2023 |
Konstantin Pavlov |
Docker: made dockerfiles use a single stage build process. |
2384:40c2bda11e92 | 14-Feb-2023 |
Konstantin Pavlov |
Docker: added a target to generate Docker library definition. |