Code Monkey home page Code Monkey logo

ciready's Introduction

CI-ready Docker images

A collection of frequently updated CI-ready Docker images with package metadata already downloaded and CI-related tools already preinstalled.

Docker Hub Repositories

The following Docker Hub repositories host these CI-ready images:

Language-specific tags

Docker image tags generated by this repository contain a suffix indicating the target programming language the image is prepared for.

The following target language suffixes are provided:

  • -ci-c

Usage

In your CI job specification (i.e. GitHub workflow), perform the following changes:

  • Change the image repository and tag of the container
  • Remove all commong build software intallation steps (things like make, gcc, libtool etc.)

Example:

diff --git a/.github/workflows/build-qa-verify-make-targets-prefix.yml b/.github/workflows/build-qa-verify-make-targets-prefix.yml
index 44bef46..9b95c76 100644
--- a/.github/workflows/build-qa-verify-make-targets-prefix.yml
+++ b/.github/workflows/build-qa-verify-make-targets-prefix.yml
@@ -54,7 +54,7 @@ jobs:
 
 
     runs-on: ubuntu-latest
-    container: ubuntu:22.04
+    container: ciready/ubuntu:22.04-ci-c
 
 
 
@@ -65,10 +65,6 @@ jobs:
 
 
 
-      - run: |
-          DEBIAN_FRONTEND=noninteractive apt-get update -y
-          DEBIAN_FRONTEND=noninteractive apt-get install -y git build-essential [...]
-
       - uses: actions/checkout@v2
       - run: ./configure
       - run: make

Motivation

In CI systems, every invocation of Docker-based run consumes time by performing the initial package metadata updates and CI-related package installations, wasting precious time and bandwidth resources.

Implementing these images in Snoopy's CI resulted in a 15-20% CI job run time reduction across the board, and around 75% job run time reduction for OpenSUSE-related jobs.

ciready's People

Contributors

bostjan avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.