Skip to content

Latest commit

 

History

History
21 lines (21 loc) · 1.12 KB

README.md

File metadata and controls

21 lines (21 loc) · 1.12 KB
  • Docker image to be used by ufs-weather-model for continuous integration
    • Base image: Alpine 3.12.0
    • Docker image contains FV3_input_data
    • Folder location inside the image: /tmp/FV3_input_data
  • Remove from FV3_input_data/RESTART
    • coupler.res, fv3_increment.nc, fv_core.res.nc,
    • fv_core.res.tile*.nc, fv_srf_wnd.res.tile*.nc,
    • fv_tracer.res.tile*.nc, phy_data.tile*.nc, sfc_data.tile*.nc
  • How to download the image
    • docker pull minsukjinoaa/fv3-input-data:develop-YYYYMMDD
  • How to generate the image and push to the docker hub
    • Place FV3_input_data in this directory
    • docker build --compress --squash -t fid .
    • docker tag fid minsukjinoaa/fv3-input-data:develop-YYYYMMDD
    • docker push minsukjinoaa/fv3-input-data:develop-YYYYMMDD
  • How to copy the input files in a multistage build Dockerfile
    • FROM minsukjinoaa/FV3-input-data:develop-YYYYMMDD AS inputData
    • FROM ...
    • COPY --from=inputData /tmp/FV3_input_data <destination>
  • How to create a volume named DataVolume from this image
    • docker run -d --rm -v DataVolume:/tmp minsukjinoaa/fv3-input-data:develop-YYYYMMDD