History log of /unit/pkg/docker/ (Results 51 – 75 of 187)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
2418:86492e68bf6b07-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:148da1a1867507-Apr-2023 Konstantin Pavlov

Docker: dropped a leftover from a multi-stage build.

2416:a54ac88ab88b10-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:c1c81b9f23cf28-Mar-2023 Konstantin Pavlov

Docker: fixed git references.

2414:ee9911b9755a07-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:b21a211149c807-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:173709e7626b07-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:c3152c0b65da07-Apr-2023 Konstantin Pavlov

Docker: added OCI image-spec labels.

2410:dd98df2badfa07-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:e2bdc49a491807-Apr-2023 Konstantin Pavlov

Docker: dropped a leftover from a multi-stage build.

2408:643602c07cc010-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:6c89501fb4cf30-Mar-2023 Konstantin Pavlov

Docker: added njs support.

2397:817968931c5822-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:06b2a49a4f8127-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:c1ff2f4d96ab28-Mar-2023 Konstantin Pavlov

Docker: fixed git references.

2394:9b85367ed09e28-Mar-2023 Konstantin Pavlov

Regenerated Dockerfiles.

2393:c12929da2a3414-Feb-2023 Konstantin Pavlov

Docker: bumped language versions.

2392:7daea4f4973b14-Feb-2023 Konstantin Pavlov

Docker: limited the waiting time for control socket creation.
While at it, fixed a typo.

2391:7101dcbb78d714-Feb-2023 Konstantin Pavlov

Docker: made dockerfiles use a single stage build process.

2390:b4c31ac5332314-Feb-2023 Konstantin Pavlov

Docker: added a target to generate Docker library definition.

2389:ba886206881614-Feb-2023 Konstantin Pavlov

Docker: cleanup unused targets.

2387:324e8619b62714-Feb-2023 Konstantin Pavlov

Docker: bumped language versions.

2386:8585f9fa616c14-Feb-2023 Konstantin Pavlov

Docker: limited the waiting time for control socket creation.
While at it, fixed a typo.

2385:18320dd3839214-Feb-2023 Konstantin Pavlov

Docker: made dockerfiles use a single stage build process.

2384:40c2bda11e9214-Feb-2023 Konstantin Pavlov

Docker: added a target to generate Docker library definition.

12345678