pangeo-data / pangeo-stacks

Curated Docker images for use with Jupyter and Pangeo
https://pangeo-data.github.io/pangeo-stacks/
BSD 3-Clause "New" or "Revised" License
17 stars 20 forks source link

fix MasterBuild CI #129

Closed scottyhq closed 4 years ago

scottyhq commented 4 years ago

fixing current MasterBuild CI error:

docker: Error response from daemon: pull access denied for conda, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
1736
See 'docker run --help'.
1737
##[error]Process completed with exit code 125.

this PR also refactors build.py to try to utilize docker build --cache-from except for pangeo-ml image which is too big to pre-pull currently for CI disk limits

scottyhq commented 4 years ago

Trying to speed up subsequent builds by pulling pangeo/IMAGE:latest and using --cache-from docker build option. Will see if this works in PRs following merge of this one.