-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathdocker.d.ts
More file actions
11 lines (11 loc) · 861 Bytes
/
docker.d.ts
File metadata and controls
11 lines (11 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
import { ExecFunction } from './exec';
export declare function isDockerBuildXInstalled(exec: ExecFunction): Promise<boolean>;
export declare function buildImage(exec: ExecFunction, imageName: string, imageTag: string | undefined, checkoutPath: string, subFolder: string, skipContainerUserIdUpdate: boolean, cacheFrom: string[], cacheTo: string[]): Promise<string>;
export declare function runContainer(exec: ExecFunction, imageName: string, imageTag: string | undefined, checkoutPath: string, subFolder: string, command: string, envs?: string[], mounts?: string[]): Promise<void>;
export declare function pushImage(exec: ExecFunction, imageName: string, imageTag: string | undefined): Promise<void>;
export interface DockerMount {
type: string;
source: string;
target: string;
}
export declare function parseMount(mountString: string): DockerMount;