1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 07:19:41 +02:00

Add build support for http request

This commit is contained in:
Michael Crosby 2013-06-18 16:50:35 -09:00
parent 7b7bb46844
commit 0f8da44165
3 changed files with 31 additions and 7 deletions

View file

@ -278,12 +278,15 @@ function StartContainerController($scope, $routeParams, $location, Container) {
};
}
function BuilderController($scope, Image) {
function BuilderController($scope, Dockerfile) {
$scope.template = '/partials/builder.html';
ace.config.set('basePath', '/lib/ace-builds/src-noconflict/');
$scope.build = function() {
Dockerfile.build(editor.getValue(), function(e) {
console.log(e);
});
};
}