Skip to content

Generate dockerfile for java app#235

Merged
chrisdias merged 2 commits intomicrosoft:masterfrom
testforstephen:jinbo_javadockerfile
Mar 14, 2018
Merged

Generate dockerfile for java app#235
chrisdias merged 2 commits intomicrosoft:masterfrom
testforstephen:jinbo_javadockerfile

Conversation

@testforstephen
Copy link
Contributor

Signed-off-by: Jinbo Wang jinbwan@microsoft.com

Implement the feature #191, generate dockerfile for a typical maven/gradle java app.

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
return pkg;
}

async function readPomAndGradle(folder: vscode.WorkspaceFolder): Promise<PackageJson> {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

readPomOrGradle ?

const json = await gradleParser.parseFile(path.join(folder.uri.fsPath, 'build.gradle'));

if (json.jar && json.jar.version) {
pkg.version =json.jar.version;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add space after '='

@chrisdias chrisdias self-assigned this Mar 14, 2018
@chrisdias chrisdias merged commit 916d9c7 into microsoft:master Mar 14, 2018
@testforstephen testforstephen deleted the jinbo_javadockerfile branch March 14, 2018 01:24
@microsoft microsoft locked and limited conversation to collaborators Oct 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants