Skip to content

error in build docker #12

@parisameteo

Description

@parisameteo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions