Build instructions require tools
javac HelloWorld.java
jar cf HelloWorld.jar HelloWorld.jar
Builds are usually more complex
Tools are installed on build agents
Build agents become critical infrastructure components
Automated installation only addresses symptom
steps:
- image: alpine/git
commands:
- git clone <somerepo>
- image: openjdk:8-jdk
commands:
- javac HelloWorld.java
- jar cf HelloWorld.jar HelloWorld.jar
git
(List is not exhaustive)
insulatr
–
https://github.com/nicholasdille/insulatr
Use insulatr
>=1.0.1
Enable privileged service:
insulatr --file insulatr.yaml --allow-privileged