Создание контейнерного образа AstraLinux завершется с ошибкой

ep4sh

New member
Сообщения
6
#1
Код:
I: Configuring gpg-agent...
I: Configuring gpg-wks-server...
I: Configuring libldap-2.4-2:amd64...
I: Configuring dirmngr...
I: Configuring gpg-wks-client...
I: Configuring gnupg...
I: Configuring apt...
I: Configuring libc-bin...
I: Configuring ca-certificates...
I: Base system installed successfully.
deb https://dl.astralinux.ru/astra/stable/2.12_x86-64/repository stable contrib main non-free
Untagged: astra-linux-rootfs:latest
Deleted: sha256:5936701ac873f4415bc3c2475ade3668037fabb6d492e794f82a3d6c0e5f6a0b
sha256:82ede4bb3cce757be33cd55dae40fe20557862c1ece5ed652e5ffd2e7ab026d0
[+] Building 2.0s (5/6)                                                                                                                                            docker:default
 => [internal] load build definition from Dockerfile                                                                                                                         0.1s
 => => transferring dockerfile: 169B                                                                                                                                         0.0s
 => [internal] load .dockerignore                                                                                                                                            0.2s
 => => transferring context: 2B                                                                                                                                              0.0s
 => [internal] load metadata for docker.io/library/astra-linux-rootfs:latest                                                                                                 0.0s
 => [1/4] FROM docker.io/library/astra-linux-rootfs                                                                                                                          0.3s
 => ERROR [2/4] RUN apt-get update                                                                                                                                           1.4s
------
 > [2/4] RUN apt-get update:
0.154 Reading package lists...
0.163 E: The method driver /usr/lib/apt/methods/https could not be found.
0.163 E: Failed to fetch https://dl.astralinux.ru/astra/stable/2.12_x86-64/repository/dists/stable/InRelease
0.163 E: Some index files failed to download. They have been ignored, or old ones used instead.
------
Почти на завершении процесса в контейнере *-rootfs возникает ошибка при сборке - не может выкачать пакетный индекс с репозитория, скорее всего не хватает apt-transport-https или ca-certificates.

Если поменять на http - все проходит, но такое положение дел не устраивает - http это очень грустно.