summaryrefslogtreecommitdiffhomepage
path: root/pkg/docker (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-09-17pkg/docker: Update dockerfiles for 1.33.0Andrew Clayton17-51/+229
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-08-26Docker: leave artifacts when build targets succeedKonstantin Pavlov1-0/+2
2024-08-26Docker: introduce "slim" python imagesKonstantin Pavlov1-6/+14
Closes: https://github.com/nginx/unit/issues/1352
2024-08-26Docker: update Rust versionKonstantin Pavlov1-1/+1
2024-08-26Docker: bump Go versionsKonstantin Pavlov1-1/+1
2024-06-21Docker: updated Rust and rustup versionsKonstantin Pavlov1-4/+4
2024-06-21Docker: bump node and perl versionsKonstantin Pavlov1-2/+2
2024-06-18Docker: Bump containers to bookwormCostas Drongos1-1/+1
2024-02-27Generated Dockerfiles for Unit 1.32.0Andrei Zeliankou14-28/+28
2024-02-21Docker: Re-generate Dockerfile.wasmAndrew Clayton1-7/+8
This now includes support for the 'wasm-wasi-component' module. This targets the upcoming 1.32.0 release which is required by wasm-wasi-component. However of course the 1.32.0 tag doesn't exist yet, so there will be a small window where this image won't build. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-02-21Docker: Add wasm-wasi-component to the wasm targetAndrew Clayton1-3/+4
Thus $ make build-wasm will build _both_ the 'wasm' & 'wasm-wasi-component' modules. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-02-21Docker: Bump rust version to 1.76.0Andrew Clayton1-1/+2
The minimum version required to build wasmtime 17 which is required by wasm-wasi-component is 1.73.0 But no point not using the latest version. This also now needs the libclang-dev package installed, we install this via MODULE_PREBUILD_wasm. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-02-20Updated copyright notice.Andrei Zeliankou1-1/+1
2024-02-20Docker: Update versions of Go, Node, PHP, RubyDan Callahan16-21/+199
- 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 Callahan14-14/+14
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-20Docker: redirect logs to stderrKonstantin Pavlov1-1/+1
This allows to use /dev/stdout as application logs if users choose to do so. Closes: https://github.com/nginx/unit/issues/982
2024-02-19Docker: Switch python3.12 to using githubAndrei Zeliankou1-2/+2
Forgotten in <https://github.com/nginx/unit/commit/c3af21e970ca3c822004cfda7c5b56ec07d99da9>
2024-02-16Docker: Switch to githubKonstantin Pavlov13-26/+26
2024-02-13Docker: Generated Dockerfile for Unit 1.31.1.tclesius1-0/+89
2024-02-13Docker: added python3.12 to versionstclesius1-1/+1
2023-10-17Generated Dockerfiles for Unit 1.31.1.1.31.1Andrei Zeliankou12-24/+24
2023-10-04Docker: fix HTML escaping.Liam Crilly1-1/+1
2023-08-23Generated Dockerfiles for Unit 1.31.0.tag1.31.0Andrei Zeliankou12-24/+24
2023-08-22Regenerated Dockerfiles.Konstantin Pavlov12-37/+453
2023-08-22Docker: remove gem caches in ruby images.Konstantin Pavlov1-1/+1
2023-08-22Docker: remove maven caches in jsc images.Konstantin Pavlov1-1/+1
2023-08-22Docker: remove npm caches in node images.Konstantin Pavlov1-1/+1
2023-08-22Docker: remove build-essential package.Konstantin Pavlov1-1/+1
2023-08-22Docker: added a container-diff helper.Konstantin Pavlov1-0/+5
It's useful to check whether resulting images have unexpected build leftovers. Requires https://github.com/GoogleContainerTools/container-diff in $PATH.
2023-08-22Docker: be POSIX-compliant in the library creation script.Konstantin Pavlov1-2/+2
2023-08-22Docker: avoid error if /docker-entrypoint.d already exists.RomainMou1-1/+1
Closes #865.
2023-08-22Docker: bumped language versions.Konstantin Pavlov1-3/+3
2023-08-22Docker: added meaningful title to metadata.Konstantin Pavlov2-1/+2
2023-08-22Docker: added wasm variant.Konstantin Pavlov1-2/+31
2023-08-22Docker: use a specific directory to build unit.Konstantin Pavlov1-1/+3
2023-08-22Docker: introduced a "module prebuild" step.Konstantin Pavlov2-1/+11
It's now used to install node-gyp on nodejs images. Starting from node:20, they no longer ship node-gyp that we require to build the modules with, so we need to install it manually. Fixes https://github.com/nginx/unit/issues/908.
2023-08-22Packages: specify runstatedir and logdir explicitely.Konstantin Pavlov1-0/+2
2023-05-09Regenerated dockerfiles.Konstantin Pavlov11-425/+477
2023-05-09Docker: show welcome page on port 80 when entrypoint.d is empty.Liam Crilly5-33/+136
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-05-05Docker: tagged minimal variant as latest.Konstantin Pavlov1-1/+5
2023-05-05Docker: Makefile housekeeping.Konstantin Pavlov1-5/+2
2023-05-05Docker: added a way to generate multiple versions of an image.Konstantin Pavlov1-23/+30
2023-05-09Docker: add support for JavaScript modules.Liam Crilly1-1/+7
2023-04-12Docker: made curl fail with non-zero exit code on server errors.Konstantin Pavlov1-1/+1
2023-04-11Docker: fixed a typo.Konstantin Pavlov1-1/+1
2023-03-28Docker: fixed git references.Konstantin Pavlov1-2/+2
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