We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bc4e8b commit 73077aeCopy full SHA for 73077ae
assets/built-in/transformers/dockerfilegenerator/java/jar/templates/Dockerfile.jar-run
@@ -4,6 +4,6 @@ FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
4
ENV {{$k}} {{$v}}
5
{{- end }}
6
RUN microdnf update && microdnf install --nodocs {{ .JavaPackageName }} && microdnf clean all
7
-COPY {{ if .BuildContainerName }}--from= {{ .BuildContainerName }}{{ end }}{{ .DeploymentFilePath }} .
+COPY {{ if .BuildContainerName }}--from={{ .BuildContainerName }} {{ end }}{{ .DeploymentFilePath }} .
8
EXPOSE {{ .Port }}
9
CMD ["java", "-jar", "{{ .DeploymentFilename }}"]
0 commit comments