summaryrefslogtreecommitdiffhomepage
path: root/pkg/docker/Dockerfile.go1.23 (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2024-09-17pkg/docker: Update dockerfiles for 1.33.0Andrew Clayton1-4/+4
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-02-27Generated Dockerfiles for Unit 1.32.0Andrei Zeliankou1-2/+2
2024-02-20Docker: Update versions of Go, Node, PHP, RubyDan Callahan1-1/+1
- Go: Drop 1.20, Add 1.22 - Node: Drop 18, Add 21 - PHP: Add 8.3 - Ruby: Add 3.3 Perl and Python are still up-to-date with upstream releases Regenerating the Dockerfiles also picks up the logging change from 183a1e9d634ae2fb129ce98f1ca8a16cbfdeac99
2024-02-20Docker: Shallow clone the Unit repoDan Callahan1-1/+1
Saves on the order of 10 MBs of transfer for each build. We call `rm -rf /usr/src/unit` later in this step, so the full repo has never appeared in our published images anyway.
2024-02-16Docker: Switch to githubKonstantin Pavlov1-2/+2
2023-10-17Generated Dockerfiles for Unit 1.31.1.1.31.1Andrei Zeliankou1-2/+2
2023-08-23Generated Dockerfiles for Unit 1.31.0.tag1.31.0Andrei Zeliankou1-2/+2
2023-08-22Regenerated Dockerfiles.Konstantin Pavlov1-5/+10
2023-05-09Regenerated dockerfiles.Konstantin Pavlov1-8/+8
2023-05-09Docker: show welcome page on port 80 when entrypoint.d is empty.Liam Crilly1-1/+2
The entrypoint script now performs a default configuration when no useful files are found in /docker-entrypoint.d/ The default configuration serves a welcome page in response to all requests, using Markdown unless text/html is sent in the Accept header. This provides a useful 'hello world' experience when running a Unit container for the first time.
2023-04-11Docker: fixed a typo.Konstantin Pavlov1-1/+1
2023-04-06Docker: drop apt-get clean usage.Konstantin Pavlov1-1/+1
It's automatic in the Debian and Ubuntu containers: https://github.com/debuerreotype/debuerreotype/blob/5cf7949ecf1cec1afece267688bda64cd34a6817/scripts/debuerreotype-minimizing-config#L85-L109
2023-04-06Docker: explicitely set uid/gid to 999 for unit user.Konstantin Pavlov1-2/+2
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.
2023-04-06Packages: use groupadd/useradd on Debian-based operating systems.Konstantin Pavlov1-5/+4
addgroup/adduser will no longer be installed by default in the "minbase". Also, moving to lower-level utilities saves us one runtime dependency.
2023-04-06Docker: added OCI image-spec labels.Konstantin Pavlov1-1/+7
2023-04-06Docker: dropped a leftover from a multi-stage build.Konstantin Pavlov1-1/+1
2023-04-10Docker: check out packaging tags.Konstantin Pavlov1-2/+3
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.
2023-03-30Docker: added njs support.Konstantin Pavlov1-4/+8
2023-03-29Auto: mirroring installation structure in build tree.Alejandro Colomar1-2/+2
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>
2023-03-29Renamed --libstatedir to --statedir.Alejandro Colomar1-1/+1
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>
2023-02-13Docker: made dockerfiles use a single stage build process.Konstantin Pavlov1-16/+12
2023-02-06Packages: get rid of deprecated configure options.Konstantin Pavlov1-6/+6
2021-12-01Docker: made Dockerfiles architecture agnostic.Konstantin Pavlov1-0/+4
2021-02-05Docker: added curl run-time dependency.Konstantin Pavlov1-1/+1
It is needed for docker-entrypoint scripts to work.
2021-01-13Docker: based docker images off official languages ones.Konstantin Pavlov1-0/+73
Language versions are bumped to: - python 3.9 - ruby 2.7 - go 1.15 - node 15 - perl 5.32 Removed images: - python 2.7 due to EOL - full/latest due to incompatibility with the new scheme