Skip to content

Commit

Permalink
Run update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
docker-library-bot committed Jun 1, 2019
1 parent a0449b6 commit 281f362
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 104 deletions.
41 changes: 9 additions & 32 deletions gradle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,11 @@ WARNING:

# Supported tags and respective `Dockerfile` links

- [`5.4.1-jdk8`, `5.4-jdk8`, `jdk8`, `5.4.1-jdk`, `5.4-jdk`, `jdk`, `5.4.1`, `5.4`, `latest` (*jdk8/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/52ceea4f0fd47e288d2ad059aff7d9cbde2f0948/jdk8/Dockerfile)
- [`5.4.1-jre8`, `5.4-jre8`, `jre8`, `5.4.1-jre`, `5.4-jre`, `jre` (*jre8/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/52ceea4f0fd47e288d2ad059aff7d9cbde2f0948/jre8/Dockerfile)
- [`5.4.1-jdk8-alpine`, `5.4-jdk8-alpine`, `jdk8-alpine`, `5.4.1-jdk-alpine`, `5.4-jdk-alpine`, `jdk-alpine`, `5.4.1-alpine`, `5.4-alpine`, `alpine` (*jdk8-alpine/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/52ceea4f0fd47e288d2ad059aff7d9cbde2f0948/jdk8-alpine/Dockerfile)
- [`5.4.1-jdk8-slim`, `5.4-jdk8-slim`, `jdk8-slim`, `5.4.1-jdk-slim`, `5.4-jdk-slim`, `jdk-slim`, `5.4.1-slim`, `5.4-slim`, `slim` (*jdk8-slim/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/52ceea4f0fd47e288d2ad059aff7d9cbde2f0948/jdk8-slim/Dockerfile)
- [`5.4.1-jre8-alpine`, `5.4-jre8-alpine`, `jre8-alpine`, `5.4.1-jre-alpine`, `5.4-jre-alpine`, `jre-alpine` (*jre8-alpine/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/52ceea4f0fd47e288d2ad059aff7d9cbde2f0948/jre8-alpine/Dockerfile)
- [`5.4.1-jre8-slim`, `5.4-jre8-slim`, `jre8-slim`, `5.4.1-jre-slim`, `5.4-jre-slim`, `jre-slim` (*jre8-slim/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/52ceea4f0fd47e288d2ad059aff7d9cbde2f0948/jre8-slim/Dockerfile)
- [`5.4.1-jdk11`, `5.4-jdk11`, `jdk11` (*jdk11/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/52ceea4f0fd47e288d2ad059aff7d9cbde2f0948/jdk11/Dockerfile)
- [`5.4.1-jdk11-slim`, `5.4-jdk11-slim`, `jdk11-slim` (*jdk11-slim/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/52ceea4f0fd47e288d2ad059aff7d9cbde2f0948/jdk11-slim/Dockerfile)
- [`5.4.1-jre11`, `5.4-jre11`, `jre11` (*jre11/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/52ceea4f0fd47e288d2ad059aff7d9cbde2f0948/jre11/Dockerfile)
- [`5.4.1-jre11-slim`, `5.4-jre11-slim`, `jre11-slim` (*jre11-slim/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/52ceea4f0fd47e288d2ad059aff7d9cbde2f0948/jre11-slim/Dockerfile)
- [`5.4.1-jdk8`, `5.4-jdk8`, `jdk8`, `5.4.1-jdk`, `5.4-jdk`, `jdk`, `5.4.1`, `5.4`, `latest` (*jdk8/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/75d1e77b163e0368f508a2ebf942eb230b4e475c/jdk8/Dockerfile)
- [`5.4.1-jre8`, `5.4-jre8`, `jre8`, `5.4.1-jre`, `5.4-jre`, `jre` (*jre8/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/75d1e77b163e0368f508a2ebf942eb230b4e475c/jre8/Dockerfile)
- [`5.4.1-jdk11`, `5.4-jdk11`, `jdk11` (*jdk11/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/75d1e77b163e0368f508a2ebf942eb230b4e475c/jdk11/Dockerfile)
- [`5.4.1-jdk12`, `5.4-jdk12`, `jdk12` (*jdk12/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/75d1e77b163e0368f508a2ebf942eb230b4e475c/jdk12/Dockerfile)
- [`5.4.1-jre12`, `5.4-jre12`, `jre12` (*jre12/Dockerfile*)](https://github.com/keeganwitt/docker-gradle/blob/75d1e77b163e0368f508a2ebf942eb230b4e475c/jre12/Dockerfile)

# Quick reference

Expand All @@ -39,7 +34,7 @@ WARNING:
[Keegan Witt (of the Groovy Project)](https://github.com/keeganwitt/docker-gradle), [with the Gradle Project's approval](https://discuss.gradle.org/t/official-docker-images/21159/8)

- **Supported architectures**: ([more info](https://github.com/docker-library/official-images#architectures-other-than-amd64))
[`amd64`](https://hub.docker.com/r/amd64/gradle/), [`arm32v5`](https://hub.docker.com/r/arm32v5/gradle/), [`arm32v6`](https://hub.docker.com/r/arm32v6/gradle/), [`arm32v7`](https://hub.docker.com/r/arm32v7/gradle/), [`arm64v8`](https://hub.docker.com/r/arm64v8/gradle/), [`i386`](https://hub.docker.com/r/i386/gradle/), [`ppc64le`](https://hub.docker.com/r/ppc64le/gradle/), [`s390x`](https://hub.docker.com/r/s390x/gradle/)
[`amd64`](https://hub.docker.com/r/amd64/gradle/), [`ppc64le`](https://hub.docker.com/r/ppc64le/gradle/), [`s390x`](https://hub.docker.com/r/s390x/gradle/)

- **Published image artifact details**:
[repo-info repo's `repos/gradle/` directory](https://github.com/docker-library/repo-info/blob/master/repos/gradle) ([history](https://github.com/docker-library/repo-info/commits/master/repos/gradle))
Expand All @@ -63,33 +58,15 @@ WARNING:

# How to use this image

Note that if you are mounting a volume and the uid running Docker is not `1000`, you should run as user `root` (`-u root`).

## Building a Gradle project

Run this from the directory of the Gradle project you want to build.

`docker run --rm -v "$PWD":/home/gradle/project -w /home/gradle/project gradle gradle <gradle-task>`

# Image Variants

The `gradle` images come in many flavors, each designed for a specific use case.

## `gradle:<version>`

This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.

## `gradle:<version>-alpine`

This image is based on the popular [Alpine Linux project](http://alpinelinux.org), available in [the `alpine` official image](https://hub.docker.com/_/alpine). Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

This variant is highly recommended when final image size being as small as possible is desired. The main caveat to note is that it does use [musl libc](http://www.musl-libc.org) instead of [glibc and friends](http://www.etalabs.net/compare_libcs.html), so certain software might run into issues depending on the depth of their libc requirements. However, most software doesn't have an issue with this, so this variant is usually a very safe choice. See [this Hacker News comment thread](https://news.ycombinator.com/item?id=10782897) for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.

To minimize image size, it's uncommon for additional related tools (such as `git` or `bash`) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the [`alpine` image description](https://hub.docker.com/_/alpine/) for examples of how to install packages if you are unfamiliar).
`docker run --rm -u gradle -v "$PWD":/home/gradle/project -w /home/gradle/project gradle gradle <gradle-task>`

## `gradle:<version>-slim`
Note the above command runs using uid/gid 1000 (user *gradle*) to avoid running as root.

This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run `gradle`. Unless you are working in an environment where *only* the `gradle` image will be deployed and you have space constraints, we highly recommend using the default image of this repository.
If you are mounting a volume and the uid/gid running Docker is not *1000*, you should run as user *root* (`-u root`). *root* is also the default, so you can also simply not specify a user.

# License

Expand Down
40 changes: 13 additions & 27 deletions groovy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,18 @@ WARNING:

# Supported tags and respective `Dockerfile` links

- [`2.5.7-jdk8`, `2.5-jdk8`, `2.5.7-jdk`, `2.5-jdk`, `jdk8`, `jdk` (*jdk8/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/59da388a05b57112da96cfc968d062b65beb2360/jdk8/Dockerfile)
- [`2.5.7-jre8`, `2.5-jre8`, `2.5.7-jre`, `2.5-jre`, `2.5.7`, `2.5`, `jre8`, `jre`, `latest` (*jre8/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/59da388a05b57112da96cfc968d062b65beb2360/jre8/Dockerfile)
- [`2.5.7-jdk8-alpine`, `2.5-jdk8-alpine`, `2.5.7-jdk-alpine`, `2.5-jdk-alpine`, `jdk8-alpine`, `jdk-alpine` (*jdk8-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/59da388a05b57112da96cfc968d062b65beb2360/jdk8-alpine/Dockerfile)
- [`2.5.7-jre8-alpine`, `2.5-jre8-alpine`, `2.5.7-jre-alpine`, `2.5-jre-alpine`, `2.5.7-alpine`, `2.5-alpine`, `jre8-alpine`, `jre-alpine`, `alpine` (*jre8-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/59da388a05b57112da96cfc968d062b65beb2360/jre8-alpine/Dockerfile)
- [`2.5.7-jdk11`, `2.5-jdk11`, `jdk11` (*jdk11/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/59da388a05b57112da96cfc968d062b65beb2360/jdk11/Dockerfile)
- [`2.5.7-jre11`, `2.5-jre11`, `jre11` (*jre11/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/59da388a05b57112da96cfc968d062b65beb2360/jre11/Dockerfile)
- [`3.0.0-beta-1-jdk8`, `3.0-jdk8`, `3.0.0-beta-1-jdk`, `3.0-jdk` (*jdk8/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/1e376c0bdf078b96d03ac32dd8d2dcfcb86ca4ff/jdk8/Dockerfile)
- [`3.0.0-beta-1-jre8`, `3.0-jre8`, `3.0.0-beta-1-jre`, `3.0-jre`, `3.0.0-beta-1`, `3.0` (*jre8/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/1e376c0bdf078b96d03ac32dd8d2dcfcb86ca4ff/jre8/Dockerfile)
- [`3.0.0-beta-1-jdk8-alpine`, `3.0-jdk8-alpine`, `3.0.0-beta-1-jdk-alpine`, `3.0-jdk-alpine` (*jdk8-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/1e376c0bdf078b96d03ac32dd8d2dcfcb86ca4ff/jdk8-alpine/Dockerfile)
- [`3.0.0-beta-1-jre8-alpine`, `3.0-jre8-alpine`, `3.0.0-beta-1-jre-alpine`, `3.0-jre-alpine`, `3.0.0-beta-1-alpine`, `3.0-alpine` (*jre8-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/1e376c0bdf078b96d03ac32dd8d2dcfcb86ca4ff/jre8-alpine/Dockerfile)
- [`2.5.7-jdk8`, `2.5-jdk8`, `2.5.7-jdk`, `2.5-jdk`, `jdk8`, `jdk` (*jdk8/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/6d07d28a34de75d6d8ab8cce9b7354cad8f72c5a/jdk8/Dockerfile)
- [`2.5.7-jre8`, `2.5-jre8`, `2.5.7-jre`, `2.5-jre`, `2.5.7`, `2.5`, `jre8`, `jre`, `latest` (*jre8/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/6d07d28a34de75d6d8ab8cce9b7354cad8f72c5a/jre8/Dockerfile)
- [`2.5.7-jdk11`, `2.5-jdk11`, `jdk11` (*jdk11/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/6d07d28a34de75d6d8ab8cce9b7354cad8f72c5a/jdk11/Dockerfile)
- [`2.5.7-jre11`, `2.5-jre11`, `jre11` (*jre11/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/6d07d28a34de75d6d8ab8cce9b7354cad8f72c5a/jre11/Dockerfile)
- [`2.5.7-jdk12`, `2.5-jdk12`, `jdk12` (*jdk12/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/6d07d28a34de75d6d8ab8cce9b7354cad8f72c5a/jdk12/Dockerfile)
- [`2.5.7-jre12`, `2.5-jre12`, `jre12` (*jre12/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/6d07d28a34de75d6d8ab8cce9b7354cad8f72c5a/jre12/Dockerfile)
- [`3.0.0-beta-1-jdk8`, `3.0-jdk8`, `3.0.0-beta-1-jdk`, `3.0-jdk` (*jdk8/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/d6ea19d95c26d91f22947992456703a7359c1b18/jdk8/Dockerfile)
- [`3.0.0-beta-1-jre8`, `3.0-jre8`, `3.0.0-beta-1-jre`, `3.0-jre`, `3.0.0-beta-1`, `3.0` (*jre8/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/d6ea19d95c26d91f22947992456703a7359c1b18/jre8/Dockerfile)
- [`3.0.0-beta-1-jdk11`, `3.0-jdk11` (*jdk11/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/d6ea19d95c26d91f22947992456703a7359c1b18/jdk11/Dockerfile)
- [`3.0.0-beta-1-jre11`, `3.0-jre11` (*jre11/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/d6ea19d95c26d91f22947992456703a7359c1b18/jre11/Dockerfile)
- [`3.0.0-beta-1-jdk12`, `3.0-jdk12` (*jdk12/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/d6ea19d95c26d91f22947992456703a7359c1b18/jdk12/Dockerfile)
- [`3.0.0-beta-1-jre12`, `3.0-jre12` (*jre12/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/d6ea19d95c26d91f22947992456703a7359c1b18/jre12/Dockerfile)

# Quick reference

Expand All @@ -39,7 +41,7 @@ WARNING:
[the Apache Groovy project](https://github.com/groovy/docker-groovy)

- **Supported architectures**: ([more info](https://github.com/docker-library/official-images#architectures-other-than-amd64))
[`amd64`](https://hub.docker.com/r/amd64/groovy/), [`arm32v5`](https://hub.docker.com/r/arm32v5/groovy/), [`arm32v6`](https://hub.docker.com/r/arm32v6/groovy/), [`arm32v7`](https://hub.docker.com/r/arm32v7/groovy/), [`arm64v8`](https://hub.docker.com/r/arm64v8/groovy/), [`i386`](https://hub.docker.com/r/i386/groovy/), [`ppc64le`](https://hub.docker.com/r/ppc64le/groovy/), [`s390x`](https://hub.docker.com/r/s390x/groovy/)
[`amd64`](https://hub.docker.com/r/amd64/groovy/), [`ppc64le`](https://hub.docker.com/r/ppc64le/groovy/), [`s390x`](https://hub.docker.com/r/s390x/groovy/)

- **Published image artifact details**:
[repo-info repo's `repos/groovy/` directory](https://github.com/docker-library/repo-info/blob/master/repos/groovy) ([history](https://github.com/docker-library/repo-info/commits/master/repos/groovy))
Expand Down Expand Up @@ -82,22 +84,6 @@ docker volume create --name grapes-cache
docker run --rm -it -v grapes-cache:/home/groovy/.groovy/grapes groovy
```

# Image Variants

The `groovy` images come in many flavors, each designed for a specific use case.

## `groovy:<version>`

This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.

## `groovy:<version>-alpine`

This image is based on the popular [Alpine Linux project](http://alpinelinux.org), available in [the `alpine` official image](https://hub.docker.com/_/alpine). Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

This variant is highly recommended when final image size being as small as possible is desired. The main caveat to note is that it does use [musl libc](http://www.musl-libc.org) instead of [glibc and friends](http://www.etalabs.net/compare_libcs.html), so certain software might run into issues depending on the depth of their libc requirements. However, most software doesn't have an issue with this, so this variant is usually a very safe choice. See [this Hacker News comment thread](https://news.ycombinator.com/item?id=10782897) for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.

To minimize image size, it's uncommon for additional related tools (such as `git` or `bash`) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the [`alpine` image description](https://hub.docker.com/_/alpine/) for examples of how to install packages if you are unfamiliar).

# License

View [license information](http://www.apache.org/licenses/LICENSE-2.0.html) for the software contained in this image.
Expand Down
Loading

0 comments on commit 281f362

Please sign in to comment.