Coder Social home page Coder Social logo

znley / dockerfiles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from loongson-cloud-community/dockerfiles

0.0 0.0 0.0 472.9 MB

Shell 39.14% JavaScript 3.13% Python 8.68% C 0.09% PHP 0.58% Lua 0.12% Go 1.59% Makefile 8.66% Smarty 0.12% Dockerfile 20.23% Mustache 2.33% Jinja 14.58% jq 0.04% PowerShell 0.01% Batchfile 0.01% M4 0.69%

dockerfiles's Introduction

dockerfiles

dockerfiles 是龙芯容器镜像的源码仓库,您可以直接通过本项目向 cr.loongnix.cn 提交镜像,感谢您为龙芯生态作出的贡献。

仓库说明

  • 仓库按照 ORGANIZATION/REPOSITORY/VERSION 的形式组织,例如 rook/ceph/1.8.4
  • 仓库组织与 Docker Hub 保持一致,library 表示进入 Docker Hub 官方仓库的镜像
  • 每一个叶子目录表示一个项目,单次提交仅能包含一个项目
  • 对于 a.b.c 形式的版本,不加前缀 v

使用方法

为了规范和自动化,所有项目框架均从模板中生成,默认提供了两种 模板,generate.shgenerate-new.sh

generate.sh

使用方法

./generate.sh ORGANIZATION REPOSITORY VERSION

该模板适用于构建和源码分离的项目,例如 kubernetes,可以提取 项目的 Dockerfile 文件,并通过 Makefile 构建镜像。阅读 Makefile.template 了解详情。

generate-new.sh

使用方法

./generate-new.sh ORGANIZATION REPOSITORY VERSION

该模板适用于构建与源码一体的项目,使用该模板可以将源码修改 以补丁的形式打入,并通过 Makefile 构建镜像。阅读 Makefile-new.template 了解详情。

注意事项

镜像修改意见

本仓库的ci流水线会根据生成的镜像提出修改意见,类似于:

  • cr.loongnix.cn/grafana/promtail:2.8.2
code level alerts
0 DKL-DI-0005 FATAL Use 'rm -rf /var/lib/apt/lists' after 'apt-get install
1 CIS-DI-0001 WARN Last user should not be root
2 CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
3 CIS-DI-0006 INFO not found HEALTHCHECK statement
4 CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/chsh

您需要根据修改意见对于源码或者补丁进行修改,消除修改意见中FATAL级别的告警。

镜像存在多个tag

如果构建的镜像需要添加多个tag,请务必在make image阶段进行添加。

如何贡献

欢迎贡献 CONTRIBUTING.md

dockerfiles's People

Contributors

qiangxuhui avatar wxpppp avatar znley avatar yzewei avatar zhaixiaojuan avatar zhangguanzhang avatar wojiushixiaobai avatar abner-chenc avatar licloud avatar lowerpierman 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.