Giter Site home page Giter Site logo

cloud-releases's Introduction

cloud-releases

目的

  1. 记录云项目的编译环境
  2. 记录云项目的编译步骤
  3. 可通过脚本定制编译步骤
  4. 为多版本编译提供参考
  5. 为自动化提供支持

使用

  1. 和 dockerfiles 类似,使用 ./new.sh $org $project $version 建立新项目

  2. 完善项目构建脚本

  • Dockerfile.build - 安装 ci.sh 所需的环境
  • ci.sh - 自定义运行步骤
  • Makefile - 可选修改
  1. 构建运行环境
make env
  1. 运行自定义脚本
make ci

通用工具包 lib

用于 Dcokerfile.build 的实用脚本,可以安装 java,maven,golang(abi1.0 abi2.0) 等。

避免 jar 包重复下载耗时

由于整个构建在容器中进行,对于 java 项目为了避免 重复下载 jar 包的耗时。可以使用挂载宿主机仓库的方式。

docker run --rm \
  ...
  -v ${HOME}/.m2/repository:/root/.m2/repository:rw
  ...

cloud-releases's People

Contributors

yzewei avatar znley avatar qiangxuhui avatar wxpppp avatar zhaixiaojuan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.