Дистрибутив: java-csp-5.0.45549-A-56fe5758.zip
Поместил в одну папку с Dockerfile взятым из то же дистрибутива (java-csp-5.0.45549-A-56fe5758.zip\java-csp-5.0.45549-A-56fe5758\Doc\docker\jcsp)
При сборке получаю ошибку.
Лог:
docker build --no-cache -t java-csp-inst --build-arg JAVA_CSP_VERSION=5.0.45549-A-56fe5758 --build-arg LOGIN=ijohncs@yandex.ru --build-arg PASSWORD=************ .
[+] Building 46.8s (21/30) docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.90kB 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:latest 1.4s
=> [auth] library/ubuntu:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> CACHED [ 1/25] FROM docker.io/library/ubuntu:latest@sha256:80dd3c3b9c6cecb9f1667e9290b3bc61b78c2678c02cbdae5f0fea92cc6734ab 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 57B 0.0s
=> [ 2/25] RUN locale -a 0.7s
=> [ 3/25] RUN locale 0.4s
=> [ 4/25] RUN ls -las 0.4s
=> [ 5/25] RUN mkdir -p /distrib 0.5s
=> [ 6/25] COPY /java-csp-5.0.45549-A-56fe5758.zip /distrib/ 0.4s
=> [ 7/25] WORKDIR /distrib 0.0s
=> [ 8/25] RUN ls -las 0.3s
=> [ 9/25] RUN locale 0.5s
=> [10/25] RUN apt-get update 27.2s
=> [11/25] RUN apt-get --assume-yes install wget 5.0s
=> [12/25] RUN apt-get --assume-yes install gnupg2 5.6s
=> [13/25] RUN sh -c 'echo "deb https://$LOGIN:$PASSWORD@cryptopro.ru/repo/deb 5.0-unstable main" >/etc/apt/sources.list.d/cprocsp.list' 0.4s
=> [14/25] RUN wget --quiet
https://www.cryptopro.ru...ts/csp/cryptopro_key.pub 1.1s
=> [15/25] RUN apt-key add cryptopro_key.pub 0.6s
=> ERROR [16/25] RUN apt-get update 2.2s
> [16/25] RUN apt-get update:
0.859 Hit:1
http://archive.ubuntu.com/ubuntu noble InRelease
0.859 Hit:2
http://security.ubuntu.com/ubuntu noble-security InRelease
1.021 Hit:3
http://archive.ubuntu.com/ubuntu noble-updates InRelease
1.185 Ign:4
https://cryptopro.ru/repo/deb 5.0-unstable InRelease
1.194 Hit:5
http://archive.ubuntu.com/ubuntu noble-backports InRelease
1.545 Err:6
https://cryptopro.ru/repo/deb 5.0-unstable Release
1.545 Redirection loop encountered
1.549 Reading package lists...
2.169 E: The repository 'https://cryptopro.ru/repo/deb 5.0-unstable Release' does not have a Release file.
3 warnings found (use --debug to expand):
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 21)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 22)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 23)
Dockerfile:49
47 | RUN wget --quiet
https://www.cryptopro.ru...ts/csp/cryptopro_key.pub 48 | RUN apt-key add cryptopro_key.pub
49 | >>> RUN apt-get update
50 |
51 | RUN apt-get --assume-yes install lsb-cprocsp-base lsb-cprocsp-kc1-64 lsb-cprocsp-ca-certs cprocsp-curl-64 lsb-cprocsp-rdr-64 lsb-cprocsp-capilite-64
ERROR: failed to solve: process "/bin/sh -c apt-get update" did not complete successfully: exit code: 100
View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/w062xkjbnnc8kkprtq5n3ehs9
Как можно решить данную проблему? Может я что не так делаю?