Skip to content

Commit

Permalink
🎁 Jib CLI > Add the windows install process with chocolatey 🎁 (#3201)
Browse files Browse the repository at this point in the history
* Add the windows install process with chocolatey 

Hi, I'm a Jib 💌 
Most of the time, i'm running Jib from `maven` and `gradle` , but recently I had to use it from command line. To help windows colleagues adopt it, I created a [Chocolatey package](https://community.chocolatey.org/packages/jib) to make the install process even easier under windows.

Hopefully you'll like it.

Thanks a lot for Jib, it helps us save so much time !


https://twitter.com/rastadidi/status/1380255793648312321

Kind Regards,
Adrien

* Update docs

Co-authored-by: Chanseok Oh <chanseok@google.com>
  • Loading branch information
adriens and chanseokoh authored Apr 13, 2021
1 parent 2eaa792 commit 652d3b6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions jib-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

<img src="https://img.shields.io/badge/status-preview-orange">

[![Chocolatey](https://img.shields.io/chocolatey/v/jib.svg)](https://chocolatey.org/packages/jib)
[![Chocolatey](https://img.shields.io/chocolatey/dt/jib.svg)](https://chocolatey.org/packages/jib)

`jib` is a general-purpose command-line utility for building Docker or [OCI](https://github.com/opencontainers/image-spec) container images from file system content as well as JAR files. Jib CLI builds containers [fast and reproducibly without Docker](https://github.com/GoogleContainerTools/jib#goals) like [other Jib tools](https://github.com/GoogleContainerTools/jib#what-is-jib).

```sh
Expand All @@ -22,6 +25,7 @@ The CLI tool is powered by [Jib Core](https://github.com/GoogleContainerTools/ji
## Table of Contents
* [Get the Jib CLI](#get-the-jib-cli)
* [Download a Java Application](#download-a-java-application)
* [Windows: Install with `choco`](#windows-install-with-choco)
* [Build Yourself from Source (for Advanced Users)](#build-yourself-from-source-for-advanced-users)
* [Supported Commands](#supported-commands)
* [Build Command](#build-command)
Expand All @@ -48,6 +52,15 @@ A JRE is required to run this Jib CLI distribution.

Find the [latest jib-cli 0.5.0 release](https://github.com/GoogleContainerTools/jib/releases/tag/v0.5.0-cli) on the [Releases page](https://github.com/GoogleContainerTools/jib/releases), download `jib-jre-<version>.zip`, and unzip it. The zip file contains the `jib` (`jib.bat` for Windows) script at `jib/bin/`. Optionally, add the binary directory to your `$PATH` so that you can call `jib` from anywhere.

### Windows: Install with `choco`

On Windows, you can use the [`choco`](https://community.chocolatey.org/packages/jib) command. To install, upgradle, or uninstall Jib CLI, run the following commands from the command-line or PowerShell:
```
choco install jib
choco upgrade jib
choco uninstall jib
```

### Build Yourself from Source (for Advanced Users)

Use the `application` plugin's `installDist` task to create a runnable installation in
Expand Down

0 comments on commit 652d3b6

Please sign in to comment.