ESCOMP / ESCOMP/ESCOMP-Containers

error in build docker

Aperta
#12 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Fortran
Stelle
15
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi everyone
I get an error when building docker and unfortunately I don't know what the problem is. The error is:
~/ESCOMP-Containers/CESM/2.1$ docker build .
[+] Building 559.2s (8/14)
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 1.71kB 0.0s
=> [internal] load metadata for docker.io/escomp/base-centos8:latest 1.9s
=> [auth] escomp/base-centos8:pull token for registry-1.docker.io 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 263B 0.0s
=> [1/9] FROM docker.io/escomp/base-centos8@sha256:2e8185f9551ed45dd21df6701856580221e9fc81f22f3cb0651054262245bd44 0.0s
=> CACHED [2/9] COPY Files/ea002e626aee6bc6643e8ab5f998e5e4 /root/.subversion/auth/svn.ssl.server/ 0.0s
=> ERROR [3/9] RUN mkdir -p /opt/ncar && cd /opt/ncar && git clone -b release-cesm2.1.3 https://github.com/E 557.0s

[3/9] RUN mkdir -p /opt/ncar && cd /opt/ncar && git clone -b release-cesm2.1.3 https://github.com/ESCOMP/CESM.git cesm2 && cd cesm2 && ./manage_externals/checkout_externals:
#0 0.414 Cloning into 'cesm2'...
#0 53.52 Note: checking out '0596a9760428fb3155310064678f1c7b424d504f'.
#0 53.52
#0 53.52 You are in 'detached HEAD' state. You can look around, make experimental
#0 53.52 changes and commit them, and you can discard any commits you make in this
#0 53.52 state without impacting any branches by performing another checkout.
#0 53.52
#0 53.52 If you want to create a new branch to retain commits you create, you may
#0 53.52 do so (now or later) by using -b with the checkout command again. Example:
#0 53.52
#0 53.52 git checkout -b
#0 53.52
#0 53.72 Processing externals description file : Externals.cfg
#0 53.72 Checking status of externals: cam, cice, cime, cism, clm, mosart, pop, rtm, ww3,
#0 53.72 Checking out externals: cam, cice, cime, cism, clm, mosart, pop, rtm, ww3,
#0 555.7 Processing externals description file : Externals_CAM.cfg
#0 555.7 Checking out externals: chem_proc, ERROR:root:Command '['svn', 'checkout', '--quiet', 'https://svn-ccsm-models.cgd.ucar.edu/tools/proc_atm/chem_proc/release_tags/chem_proc5_0_03_rel', '/opt/ncar/cesm2/components/cam/chem_proc']' returned non-zero exit status 1.
#0 556.6 ERROR:root:Failed with output:
#0 556.6 svn: E170013: Unable to connect to a repository at URL 'https://svn-ccsm-models.cgd.ucar.edu/tools/proc_atm/chem_proc/release_tags/chem_proc5_0_03_rel'
#0 556.6 svn: E230001: Server SSL certificate verification failed: issuer is not trusted
#0 556.6
#0 556.6 ERROR: In directory
#0 556.6 /opt/ncar/cesm2
#0 556.6 Process did not run successfully; returned status 1:
#0 556.6 svn checkout --quiet https://svn-ccsm-models.cgd.ucar.edu/tools/proc_atm/chem_proc/release_tags/chem_proc5_0_03_rel /opt/ncar/cesm2/components/cam/chem_proc
#0 556.6 See above for output from failed command.
#0 556.6
#0 556.6 ERROR:root:Failed with output:
#0 556.6 svn: E170013: Unable to connect to a repository at URL 'https://svn-ccsm-models.cgd.ucar.edu/tools/proc_atm/chem_proc/release_tags/chem_proc5_0_03_rel'
#0 556.6 svn: E230001: Server SSL certificate verification failed: issuer is not trusted
#0 556.6
#0 556.6 ERROR: In directory
#0 556.6 /opt/ncar/cesm2
#0 556.6 Process did not run successfully; returned status 1:
#0 556.6 svn checkout --quiet https://svn-ccsm-models.cgd.ucar.edu/tools/proc_atm/chem_proc/release_tags/chem_proc5_0_03_rel /opt/ncar/cesm2/components/cam/chem_proc
#0 556.6 See above for output from failed command.
#0 556.6
#0 556.6
#0 556.6 ERROR: Failed with output:
#0 556.6 svn: E170013: Unable to connect to a repository at URL 'https://svn-ccsm-models.cgd.ucar.edu/tools/proc_atm/chem_proc/release_tags/chem_proc5_0_03_rel'
#0 556.6 svn: E230001: Server SSL certificate verification failed: issuer is not trusted
#0 556.6
#0 556.6 ERROR: In directory
#0 556.6 /opt/ncar/cesm2
#0 556.6 Process did not run successfully; returned status 1:
#0 556.6 svn checkout --quiet https://svn-ccsm-models.cgd.ucar.edu/tools/proc_atm/chem_proc/release_tags/chem_proc5_0_03_rel /opt/ncar/cesm2/components/cam/chem_proc
#0 556.6 See above for output from failed command.
#0 556.6


Dockerfile:10

9 | COPY Files/ea002e626aee6bc6643e8ab5f998e5e4 /root/.subversion/auth/svn.ssl.server/
10 | >>> RUN mkdir -p /opt/ncar &&
11 | >>> cd /opt/ncar &&
12 | >>> git clone -b release-cesm2.1.3 https://github.com/ESCOMP/CESM.git cesm2 &&
13 | >>> cd cesm2 &&
14 | >>> ./manage_externals/checkout_externals
15 |

ERROR: failed to solve: process "/bin/sh -c mkdir -p /opt/ncar && cd /opt/ncar && git clone -b release-cesm2.1.3 https://github.com/ESCOMP/CESM.git cesm2 && cd cesm2 && ./manage_externals/checkout_externals" did not complete successfully: exit code: 1
:~/ESCOMP-Containers/CESM/2.1$

I would be grateful if you guided me through this.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia dalla riga 10 del Dockerfile e dal file certificate-auth copiato Files/ea002e626aee6bc6643e8ab5f998e5e4, quindi leggi il passaggio CESM's ./manage_externals/checkout_externals. Esegui nuovamente docker build e verifica che il checkout esterno di chem_proc venga completato senza l'errore di certificato SVN segnalato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
docker, git
Ambito
build-system, devops
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.