node-ci

Node Ci Docker 镜像

自动构建

这是官方Node.js Docker镜像的分支,针对CI环境优化,预装Git、Docker、AWS CLI等多种开发工具,适用于持续集成场景。

7 次收藏下载次数: 0状态:自动构建维护者:kriasoft仓库类型:镜像最近更新:
下载命令
点击查看

Node.js CI镜像

Node.js CI 是官方https://hub.docker.com/_/node/ Docker镜像的分支,针对持续集成(CI)环境进行了优化。更多信息可访问Circle CI的https://circleci.com/docs/2.0/custom-images/文档。

支持的标签及对应Dockerfile链接

  • 9.2.1, 9.2, 9, latest https://github.com/kriasoft/docker-node-ci/blob/v9.2.1/Dockerfile
  • 9.2.1-alpine, 9.2-alpine, 9-alpine, alpine https://github.com/kriasoft/docker-node-ci/blob/v9.2.1/alpine/Dockerfile
  • 8.9.3, 8.9, 8, carbon https://github.com/kriasoft/docker-node-ci/blob/v8.9.3/8/Dockerfile
  • 8.9.3-alpine, 8.9-alpine, 8-alpine, carbon-alpine https://github.com/kriasoft/docker-node-ci/blob/v8.9.3/8/alpine/Dockerfile

预装包

  • https://www.gnu.org/software/bash/
  • OpenSSH客户端
  • Curl
  • https://packages.debian.org/sid/ca-certificates
  • https://git-scm.com/
  • https://www.docker.com/
  • https://docs.docker.com/compose/
  • https://aws.amazon.com/cli/
  • https://cloud.google.com/sdk/
  • https://kubernetes.io/docs/user-guide/kubectl-overview/
  • https://***.github.io/watchman/
  • https://github.com/GoogleChrome/puppeteer/issues/290#issuecomment-322838700

使用场景

适用于Circle CI、Jenkins等持续集成平台,作为Node.js项目的构建环境,支持代码拉取、依赖安装、测试执行、容器化部署等CI/CD流程。

部署示例

Docker Run命令

bash
docker run -it --rm docker.xuanyuan.run/kriasoft/node-ci:latest bash

Docker Compose示例

yaml
version: '3'
services:
  ci:
    image: docker.xuanyuan.run/kriasoft/node-ci:latest
    volumes:
      - ./:/app
    working_dir: /app
    command: npm run build

相关项目

  • https://github.com/kriasoft/react-starter-kit
  • https://github.com/kriasoft/react-static-boilerplate
  • https://github.com/kriasoft/nodejs-api-starter

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 node-ci 镜像标签

docker pull docker.xuanyuan.run/kriasoft/node-ci:<标签>

DockerHub 原生拉取命令

docker pull kriasoft/node-ci:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告