# R 代码构建制品上传示例 ![badge](https://cnb.cool/examples/ecosystem/golang-build/-/badge/git/latest/ci/pipeline-as-code) ![badge](https://cnb.cool/examples/ecosystem/golang-build/-/badge/git/latest/ci/git-clone-yyds) ![badge](https://cnb.cool/examples/ecosystem/golang-build/-/badge/git/latest/ci/status/push) `R语言` 代码构建镜像并发布到 CNB Docker 仓库。 ## 示例关键代码说明 - `script.R`: 一个R语言脚本 - `Dockerfile`: 构建镜像 - `.ide/Dockerfile`: 启动远程开发使用构建环境配置 - `.cnb.yml`: ci 配置文件 - `README.md`: 说明文件 ## Docker 镜像 `docker.cnb.cool/examples/ecosystem/r-build:latest` ## 如何使用 ```shell docker pull docker.cnb.cool/examples/ecosystem/r-build:latest docker run docker.cnb.cool/examples/ecosystem/r-build:latest ```