diff --git a/lib/util/exec.ts b/lib/util/exec.ts
index b8bcb59969ae697738fd4d51a81d498114303840..2a12273c29c185b5b5708587da7feadd823ad4a7 100644
--- a/lib/util/exec.ts
+++ b/lib/util/exec.ts
@@ -19,10 +19,7 @@ export interface ExecResult {
   stderr: string;
 }
 
-export function exec(
-  cmd: string,
-  options?: ExecOptions & { docker?: DockerOptions }
-): Promise<ExecResult> {
+export function exec(cmd: string, options?: ExecOptions): Promise<ExecResult> {
   let pExecCommand = cmd;
   const pExecOptions = { ...options, encoding: 'utf-8' };