GithubHelp home page GithubHelp logo

step-jlink's Introduction

step-jlink

An official Wercker step for running Jlink.

This step creates a custom Java runtime from a given set of Java modules of an existing Java runtime.

The location of the existing Java runtime must be declared in the JAVA_HOME environment variable.

This step can be used to create a smaller custom Java runtime containing only the Java modules required to either build a Java application or run a Java application.

Options

  • add_modules (default: java.base) a comma separated list of Java modules to be included in the custom Java runtime (any dependent modules will also be implicitly included). To list the set of modules of a Java runtime use the command java --list-modules`.

  • compress (default: 2) the compression level for resources. A value of 0 means no compression. A value of 1 means constant strings are shared. A value of 2 means ZIP compression is used

  • output (default: javaruntime) the directory under which the contents of the custom Java runtime will be placed

Supplying no options will create the smallest possible Java runtime that contains just the java.base module.

Example


box:
  id: quay.io/paulsandoz/alpine-jdk-9-maven
  tag: 9-ea-181
  cmd: /bin/sh
  registry: quay.io

build:
  steps:
    - wercker/[email protected]

Contributing to this repository

Oracle welcomes contributions to this repository from anyone. Please see CONTRIBUTING for more information.

step-jlink's People

Contributors

markxnelson avatar riceo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.