UNPKG

snyk-docker-plugin

Version:
9 lines (8 loc) 464 B
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;