All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.jreleaser.templates.native-image.jib.build.yml.tpl Maven / Gradle / Ivy

# {{jreleaserCreationStamp}}
apiVersion: jib/v1alpha1
kind: BuildFile

from:
  image: {{jibBaseImage}}

{{#jibCreationTime}}
creationTime: "{{.}}"
{{/jibCreationTime}}

format: {{jibFormat}}

{{#hasJibEnvironment}}
environment:
{{#jibEnvironment}}
  {{.}}
{{/jibEnvironment}}
{{/hasJibEnvironment}}

labels:
{{#jibLabels}}
  {{.}}
{{/jibLabels}}

{{#hasJibVolumes}}
volumes:
{{#jibVolumes}}
  - "{{.}}"
{{/jibVolumes}}
{{/hasJibVolumes}}

{{#hasJibExposedPorts}}
exposedPorts:
{{#jibExposedPorts}}
  - "{{.}}"
{{/jibExposedPorts}}
{{/hasJibExposedPorts}}

{{#jibUser}}
user: "{{.}}"
{{/jibUser}}

workingDirectory: "{{jibWorkingDirectory}}"

entrypoint: ["{{jibWorkingDirectory}}/{{distributionArtifactRootEntryName}}/bin/{{distributionExecutableUnix}}"]

layers:
  entries:
    - name: {{distributionName}}
      files:
        - src: assembly/{{distributionArtifactRootEntryName}}/bin
          dest: {{jibWorkingDirectory}}/{{distributionArtifactRootEntryName}}/bin
          properties:
            filePermissions: 755
        - src: assembly/{{distributionArtifactRootEntryName}}
          dest: {{jibWorkingDirectory}}/{{distributionArtifactRootEntryName}}
          excludes:
            - "bin/*"
        - src: assembly
          dest: {{jibWorkingDirectory}}
          excludes:
            - "{{distributionArtifactRootEntryName}}"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy