From 857914830626606de2f1fd6b68fbefe50b32b396 Mon Sep 17 00:00:00 2001 From: Mikhail Gordeev Date: Tue, 14 Feb 2023 02:58:21 +0300 Subject: [PATCH] Add alt/distroless-base image --- org/alt/distroless-base/README.md | 6 ++++++ org/alt/distroless-base/distroless.toml | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 org/alt/distroless-base/README.md create mode 100644 org/alt/distroless-base/distroless.toml diff --git a/org/alt/distroless-base/README.md b/org/alt/distroless-base/README.md new file mode 100644 index 0000000..69283b4 --- /dev/null +++ b/org/alt/distroless-base/README.md @@ -0,0 +1,6 @@ +ALT distroless-base image +=========================== + +This image contains tzdata and basic libraries (selinux, ssl, etc.) and +is meant to be the base image for distroless images used dynamically linked +binaries. diff --git a/org/alt/distroless-base/distroless.toml b/org/alt/distroless-base/distroless.toml new file mode 100644 index 0000000..dc91e01 --- /dev/null +++ b/org/alt/distroless-base/distroless.toml @@ -0,0 +1,19 @@ +from = "{{ registry }}{{ organization }}/distroless-static:{{ branch }}" +builder-install-packages = [ + "glibc-core", + '{{if_branches(["p10"], "glibc-nss")}}', + "glibc-timezones", + "libselinux", + "libssl", + "tzdata", + "zlib", +] +packages = [ + "glibc-core", + '{{if_branches(["p10"], "glibc-nss")}}', + "glibc-pthread", + "glibc-timezones", + "tzdata", + "zlib", +] +timezone = "Europe/Moscow"