Skip to content

Commit

Permalink
Minor changes (microsoft#2519)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwateratmsft authored Nov 23, 2020
1 parent 20025e9 commit e416a65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/templates/java/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM openjdk:8-jdk-alpine
VOLUME /tmp
ARG JAVA_OPTS
ENV JAVA_OPTS=$JAVA_OPTS
ADD {{ relativeJavaOutputPath }} {{ serviceName }}.jar
COPY {{ relativeJavaOutputPath }} {{ serviceName }}.jar
{{#each ports}}
EXPOSE {{ . }}
{{/each}}
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/DockerTaskProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export abstract class DockerTaskProvider implements TaskProvider {
return 0;
}

protected abstract async executeTaskInternal(context: DockerTaskExecutionContext, task: Task): Promise<void>;
protected abstract executeTaskInternal(context: DockerTaskExecutionContext, task: Task): Promise<void>;

protected getHelper(platform: DockerPlatform): TaskHelper {
return this.helpers[platform];
Expand Down

0 comments on commit e416a65

Please sign in to comment.