Skip to content

Commit

Permalink
Use force option when removing container (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam authored and Vadim Demedes committed Apr 15, 2019
1 parent e5cb2bf commit 90e2e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ module.exports = context => {
const options = {cwd: context.cwd};

return removeFile(path.join(context.cwd, `.${context.version}.dockerfile`))
.then(() => exec('docker', ['rmi', image], options))
.then(() => exec('docker', ['rmi', '-f', image], options))
.then(() => context);
};

0 comments on commit 90e2e92

Please sign in to comment.