summaryrefslogtreecommitdiffhomepage
path: root/pkg/docker (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-04-06Docker: specified explicit variants of images to use.Konstantin Pavlov1-8/+17
This allows us to decide when to move to a newer underlying distribution version with our pace instead of relying on Docker Hub cadence.
2023-04-06Docker: dropped a leftover from a multi-stage build.Konstantin Pavlov1-1/+1
2023-04-10Docker: check out packaging tags.Konstantin Pavlov2-2/+5
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: bumped language versions.Konstantin Pavlov1-3/+3
2023-02-13Docker: limited the waiting time for control socket creation.Konstantin Pavlov1-2/+9
While at it, fixed a typo.
2023-02-13Docker: made dockerfiles use a single stage build process.Konstantin Pavlov2-35/+22
2023-02-13Docker: added a target to generate Docker library definition.Konstantin Pavlov1-1/+18
2023-02-13Docker: cleanup unused targets.Konstantin Pavlov1-20/+2
2023-03-01Merged with the 1.29 branch.Andrei Zeliankou8-8/+8
2023-02-28Generated Dockerfiles for Unit 1.29.1.1.29.1Andrei Zeliankou8-8/+8
2023-02-06Packages: get rid of deprecated configure options.Konstantin Pavlov1-6/+6
2022-12-15Generated Dockerfiles for Unit 1.29.0.1.29.0Andrei Zeliankou8-8/+8
2022-12-13Docker: limited the waiting time for control socket removal.Konstantin Pavlov1-1/+15
Fixes https://github.com/nginx/unit/issues/728 Refs https://github.com/nginx/unit/issues/718
2022-12-13Regenerated Dockerfiles.Konstantin Pavlov2-4/+4
2022-12-07Docker: bumped language versions.Konstantin Pavlov1-2/+2
2022-10-27Fixed path for sed(1).Alejandro Colomar1-1/+1
Some distros provide it in /bin/sed and others in both /bin/sed and /usr/bin/sed. Use the more available one. Reported-by: Konstantin Pavlov <thresh@nginx.com> Fixes: ac64ffde5718 "Improved readability of <docker-entrypoint.sh>." Signed-off-by: Alejandro Colomar <alx@nginx.com>
2022-10-26Improved readability of <docker-entrypoint.sh>.javad mnjd1-5/+5
Cc: Konstantin Pavlov <thresh@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
2022-09-13Generated Dockerfiles for Unit 1.28.0.1.28.0Andrei Zeliankou8-8/+8
2022-09-09Regenerated Dockerfiles.Konstantin Pavlov3-6/+6
2022-09-09Docker: bumped language versions, moved jsc11 to eclipse-temurin.Konstantin Pavlov1-3/+3
openjdk builds are no longer provided in the docker library due to deprecation.
2022-06-02Generated Dockerfiles for Unit 1.27.0.1.27.0Andrei Zeliankou8-8/+8
2022-05-11Regenerated Dockerfiles.Konstantin Pavlov8-10/+42
2022-05-11Docker: bumped language versions.Konstantin Pavlov1-2/+2
2022-01-13Docker: bumped Python image version.Konstantin Pavlov1-1/+1
2021-12-17Docker: bumped PHP image version.Konstantin Pavlov1-1/+1
2021-12-01Docker: made Dockerfiles architecture agnostic.Konstantin Pavlov2-2/+6
2021-12-02Generated Dockerfiles for Unit 1.26.1.1.26.1Valentin Bartenev8-8/+8
2021-11-30Docker: respect the binary from CMD in the entrypoint.Konstantin Pavlov1-1/+1
2021-11-18Generated Dockerfiles for Unit 1.26.0.1.26.0Valentin Bartenev8-8/+8
2021-09-21Regenerated Dockerfiles.Konstantin Pavlov5-10/+10
2021-09-21Docker: bumped versions.Konstantin Pavlov1-5/+5
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-08-19Generated Dockerfiles for Unit 1.25.0.1.25.0Valentin Bartenev8-8/+8
2021-05-27Generated Dockerfiles for Unit 1.24.0.1.24.0Valentin Bartenev8-8/+8
2021-03-25Generated Dockerfiles for Unit 1.23.0.1.23.0Valentin Bartenev8-8/+8
2021-02-05Regenerated Dockerfiles.Konstantin Pavlov8-8/+8
2021-02-05Docker: added curl run-time dependency.Konstantin Pavlov1-1/+1
It is needed for docker-entrypoint scripts to work.
2021-02-04Generated Dockerfiles for Unit 1.22.0.1.22.0Valentin Bartenev8-8/+8
2021-02-02Docker: reverted 44154b830401.Konstantin Pavlov1-2/+0
Automatic synchronisation is now set up, so manual pushes to AWS ECR are discouraged.
2021-02-01Regenerated Dockerfiles.Konstantin Pavlov15-833/+566
2021-01-13Docker: based docker images off official languages ones.Konstantin Pavlov3-141/+151
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
2020-12-24Packages: fixed an ability to override package version.Andrei Belov1-1/+2
This was broken since 00d8049418cf.
2020-12-02Docker: creating tags and pushing to AWS ECR as well.Konstantin Pavlov1-0/+4
2020-11-19Generated Dockerfiles for Unit 1.21.0.1.21.0Valentin Bartenev9-9/+9
2020-10-08Generated Dockerfiles for Unit 1.20.0.Valentin Bartenev9-9/+9
2020-09-22Regenerated dockerfiles.Konstantin Pavlov9-1/+112
2020-09-22Ensure docker images are using latest versions of base OS packages.Konstantin Pavlov1-3/+6
2020-09-22Added jsc11 docker image.Konstantin Pavlov2-2/+6