You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 05ef875
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
8
8
## What is Jib?
9
9
10
-
Jib is a Maven plugin for building Docker<!-- and OCI--> images for your Java applications.
10
+
Jib is a Maven plugin for building Docker and OCI images for your Java applications.
11
11
12
12
## Goals
13
13
@@ -22,7 +22,6 @@ Jib is a Maven plugin for building Docker<!-- and OCI--> images for your Java ap
22
22
These features are not currently supported but will be added in later releases.
23
23
24
24
* Gradle plugin
25
-
* Building OCI images
26
25
* Support for WAR format
27
26
28
27
## Quickstart
@@ -35,7 +34,7 @@ In your Maven Java project, add the plugin to your `pom.xml`:
35
34
<plugin>
36
35
<groupId>com.google.cloud.tools</groupId>
37
36
<artifactId>jib-maven-plugin</artifactId>
38
-
<version>0.1.2</version>
37
+
<version>0.1.4</version>
39
38
<configuration>
40
39
<registry>myregistry</registry>
41
40
<repository>myapp</repository>
@@ -133,14 +132,16 @@ Field | Default | Description
133
132
`jvmFlags`|*None*|Additional flags to pass into the JVM when running your application.
134
133
`mainClass`|Uses `mainClass` from `maven-jar-plugin`|The main class to launch the application from.
135
134
`enableReproducibleBuilds`|`true`|Building with the same application contents always generates the same image. Note that this does *not* preserve file timestamps and ownership.
136
-
<!--`imageFormat`|`Docker`|Use `OCI` to build an [OCI container image](https://www.opencontainers.org/).-->
135
+
`imageFormat`|`Docker`|Use `OCI` to build an [OCI container image](https://www.opencontainers.org/).
137
136
138
137
### Example
139
138
140
139
In this configuration, the image is:
141
140
* Built from a base of `openjdk:alpine` (pulled from Docker Hub)
142
141
* Pushed to `localhost:5000/my-image:built-with-jib`
@@ -235,7 +237,7 @@ See [rules_docker](https://github.com/bazelbuild/rules_docker) for a similar exi
235
237
236
238
### What image format does Jib use?
237
239
238
-
Jib currently builds into the [Docker V2.2](https://docs.docker.com/registry/spec/manifest-v2-2/) image format. [OCI image format](https://github.com/opencontainers/image-spec) support will be added a future release.
240
+
Jib currently builds into the [Docker V2.2](https://docs.docker.com/registry/spec/manifest-v2-2/) image format or [OCI image format](https://github.com/opencontainers/image-spec). See [Extended Usage](#extended-usage) for the `imageFormat` configuration.
239
241
240
242
### Can I use other authentication methods besides a Docker credential helper?
0 commit comments