https://github.com/quarkusio/quarkus-buildpacks
https://github.com/quarkusio/quarkus-buildpacks
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/quarkusio/quarkus-buildpacks
- Owner: quarkusio
- Created: 2021-01-07T13:33:02.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-21T20:11:53.000Z (over 3 years ago)
- Last Synced: 2025-01-29T18:38:19.604Z (5 months ago)
- Language: Shell
- Size: 1.38 MB
- Stars: 9
- Watchers: 8
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quarkus Buildpacks
This are some WIP build stacks for building Quarkus applications using supported images like Red Hat OpenJDK and Red Hat Quarkus builder (Mandrel).
## Prerequisites
To use buildpacks the `pack` command is needed, see the instructions here on how to install it: https://buildpacks.io/docs/tools/pack/
MacOS users will also need to install `coreutils` using something like `brew install coreutils`.
## Creating Buildpacks
To install the build packs run clone this repo and run the `create-buildpacks.sh` script.
## How to build for Quarkus JVM
To test the buildpack for [Quarkus](https://quarkus.io) using the JVM run this:
```
pack build quarkus-jvm-test-app --path apps/quarkus-sample-app --builder codejive/buildpacks-quarkus-builder:jvm
```## How to build for Quarkus Native
To test the buildpack for [Quarkus](https://quarkus.io) compiling to native code run this:
```
pack build quarkus-native-test-app --path apps/quarkus-sample-app --builder codejive/buildpacks-quarkus-builder:native
```## Running the image
After having built the image with one of the commands above you can simply run them, eg:
```
docker run -it --rm quarkus-jvm-test-app
```or
```
docker run -it --rm quarkus-native-test-app
```## Development
The information for creating buildpacks comes from:
https://buildpacks.io/docs/buildpack-author-guide/create-buildpack/