Skip to content
Snippets Groups Projects

5534 add docker

Merged Hahn Axel (hahn) requested to merge 5534-add-docker into master
4 files
+ 51
0
Compare changes
  • Side-by-side
  • Inline

Files

<?php
/**
*
* Build plugin - TGZ
*
* @author <axel.hahn@iml.unibe.ch>
*/
class build_zip extends build_base {
/**
* check requirements if the plugin could work
* @return array
*/
public function checkRequirements() {
return [
'which zip'
];
}
/**
* get an array with shell commands to execute
* @return array
*/
public function getBuildCommands(){
return [
'cd "'. $this->getBuildDir(). '" && zip -r9 "'. $this->getOutfile().'" .'
];
}
}
Loading