Subject: [bug#62153] [PATCH 2/2] news: Add entry for the new 'docker-layered' distribution format.

From: Oleg Pykhalov <[email-masked]>
Date: Mon, 13 Mar 2023 03:33:10 +0300

* etc/news.scm: Add entry.
---
 etc/news.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/etc/news.scm b/etc/news.scm
index 924c2b35b4..98fb7f536c 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -18,6 +18,7 @@
 ;; Copyright © 2021 Andrew Tropin <[email-masked]>
 ;; Copyright © 2021 Jonathan Brielmaier <[email-masked]>
 ;; Copyright © 2022 Thiago Jung Bauermann <[email-masked]>
+;; Copyright © 2023 Oleg Pykhalov <[email-masked]>
 ;;
 ;; Copying and distribution of this file, with or without modification, are
 ;; permitted in any medium without royalty provided the copyright notice and
@@ -26,6 +27,43 @@
 (channel-news
  (version 0)
 
+ (entry (commit "45777c5b753ce330ad007d4e71189cf3fc627ccc")
+        (title
+         (en "New @samp{docker-layered} format for the @command{guix pack} command")
+         (ru "Новый @samp{docker-layered} формат для @command{guix pack} команды"))
+        (body
+         (en "Docker layered image can now be produced via the @command{guix
+pack --format=docker-layered} command, providing a Docker image with many of
+the store paths being on their own layer to improve sharing between images.
+The image is realized into the GNU store as a gzipped tarball.  Here is a
+simple example that generates a layered Docker image for the @code{hello}
+package:
+
+@example
+guix pack --format=docker-layered --symlink=/usr/bin/hello=bin/hello hello
+@end example
+
+See @command{info \"(guix) Invoking guix pack\"} for more information.
+
+@command{guix system image} can now produce layered Docker image by passing
+@code{docker-layered} to @option{--image-type} option.
+")
+         (ru "Появилась команда создания многослойных Docker образов с помощью
+@command{guix pack --format=docker-layered}, которая соберет Docker образ с
+путями в store расположенными на отдельных слоях, ускоряя таким образом
+передачу образов.  Образ будет создан в GNU store в качестве gzipped tarball.
+
+Пример создания Docker layered image с @code{hello} пакетом:
+@example
+guix pack --format=docker-layered --symlink=/usr/bin/hello=bin/hello hello
+@end example
+
+Смотрите @command{info \"(guix) Invoking guix pack\"} для получения более
+детальных сведений.
+
+@command{guix system image} теперь может создавать layered Docker image путем
+указания в опции @option{--image-type} параметра @code{docker-layered}.")))
+
  (entry (commit "598f4c509bbfec2b983a8ee246cce0a0fe45ec7f")
         (title
          (de "Neues Format @samp{rpm} für den Befehl @command{guix pack}")
-- 
2.38.0