WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

pre-commit-ci/runner-image

Repository files navigation

Build Status pre-commit.ci status

runner-image

This is the image that is used to build and run in pre-commit.ci.

contributing new languages

additional languages used to impact the scaling time of pre-commit.ci but are now factored in a way that they can be lazily loaded. this requires special care in the Dockerfile to make sure those languages function correctly.

a language consists of a few things after the echo: 'end minimal' marker:

  • a single ENV instruction which sets up the environment variables for running that language
  • a single RUN instruction which installs the language into /opt/${lang}
  • the RUN instruction must also contain echo 'lang: ${lang}' such that the lazy loading machinery can identify where the language is.
  • the value of ${lang} must match the language field for pre-commit.

swift is one example language that is set up in this way.

About

This is the image that is used to build and run in pre-commit.ci.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 24