Add/fix labels to some image templates (including distroless) #78

Merged
fedorovand merged 1 commits from fixinfo into master 2024-12-16 15:35:24 +03:00
Owner
No description provided.
fedorovand force-pushed fixinfo from c97793274d to 1667e4f287 2024-11-20 14:18:19 +03:00 Compare
fedorovand force-pushed fixinfo from 1667e4f287 to bd830c2903 2024-11-20 14:28:32 +03:00 Compare
stepchenkoas reviewed 2024-12-05 11:50:15 +03:00
@ -19,3 +19,4 @@ packages = [
"zlib",
]
timezone = "Europe/Moscow"
label = {"org.opencontainers.image.title" = "distroless-base", "org.opencontainers.image.description" = "Base image for dynamic linked programms running", "org.opencontainers.image.licenses" = "GPLv2", "org.opencontainers.image.vendor" = "ALT Linux Team"}
Owner

description звучит странно. Может что-то типо "Base image for running dynamically linked programs"?

description звучит странно. Может что-то типо "Base image for running dynamically linked programs"?
stepchenkoas reviewed 2024-12-05 11:51:50 +03:00
@ -2,3 +2,4 @@ from = "scratch"
file-lists = ["static.list"]
user = "nonroot"
workdir = "/home/nonroot"
label = {"org.opencontainers.image.title" = "distroless-static", "org.opencontainers.image.description" = "Base image for static programms running", "org.opencontainers.image.licenses" = "GPLv2", "org.opencontainers.image.vendor" = "ALT Linux Team"}
Owner

description звучит странно. Может что-то типо "Base image for running statically linked programs"?

description звучит странно. Может что-то типо "Base image for running statically linked programs"?
stepchenkoas reviewed 2024-12-05 11:57:20 +03:00
@ -2,14 +2,14 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
MAINTAINER alt-cloud
LABEL org.opencontainers.image.title="kube-apiserver" \
Owner

Не стоит ставить LABEL перед install_packages для образов kube-*, потому что это мешает использованию кэша при сборке образов.

Подробнее:
d095e0832e

Не стоит ставить LABEL перед install_packages для образов kube-*, потому что это мешает использованию кэша при сборке образов. Подробнее: https://gitea.basealt.ru/alt/image-forge/commit/d095e0832e0edc38b090f7b376312aa5359ac3ab
fedorovand force-pushed fixinfo from bd830c2903 to be9804758c 2024-12-09 18:02:59 +03:00 Compare
fedorovand merged commit 6e6d876b83 into master 2024-12-16 15:35:24 +03:00
fedorovand deleted branch fixinfo 2024-12-16 15:35:25 +03:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: alt/image-forge#78
No description provided.