snyk-docker-plugin
Version:
Snyk CLI docker plugin
9 lines (8 loc) • 464 B
TypeScript
import { UpdateDockerfileBaseImageNameResult } from "./types";
export { updateDockerfileBaseImageName };
/**
* Updates the image name of the last from stage, after resolving all aliases
* @param contents Contents of the Dockerfile to update
* @param newBaseImageName New base image name Dockerfile contents should be updated to
*/
declare function updateDockerfileBaseImageName(contents: string, newBaseImageName: string): UpdateDockerfileBaseImageNameResult;