Skip to content

Commit 074a723

Browse files
Run update.sh
1 parent 4baab4b commit 074a723

File tree

2 files changed

+222
-0
lines changed

2 files changed

+222
-0
lines changed

adoptopenjdk/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ WARNING:
1414
1515
-->
1616

17+
# **DEPRECATION NOTICE**
18+
19+
This image is officially deprecated in favor of [the `eclipse-temurin` image](https://hub.docker.com/_/eclipse-temurin/), and will receive no further updates after 2021-08-01 (Aug 01, 2021). Please adjust your usage accordingly.
20+
1721
# Quick reference
1822

1923
- **Maintained by**:

eclipse-temurin/README.md

Lines changed: 218 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,218 @@
1+
<!--
2+
3+
********************************************************************************
4+
5+
WARNING:
6+
7+
DO NOT EDIT "eclipse-temurin/README.md"
8+
9+
IT IS AUTO-GENERATED
10+
11+
(from the other files in "eclipse-temurin/" combined with a set of templates)
12+
13+
********************************************************************************
14+
15+
-->
16+
17+
# Quick reference
18+
19+
- **Maintained by**:
20+
[Adoptium](https://github.com/adoptium/containers)
21+
22+
- **Where to get help**:
23+
[Adoptium Slack](https://adoptium.net/slack.html)
24+
25+
# Supported tags and respective `Dockerfile` links
26+
27+
(See ["What's the difference between 'Shared' and 'Simple' tags?" in the FAQ](https://github.com/docker-library/faq#whats-the-difference-between-shared-and-simple-tags).)
28+
29+
## Simple Tags
30+
31+
- [`8u302-b08-jdk-focal`, `8-jdk-focal`, `8-focal`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/8/jdk/ubuntu/Dockerfile.releases.full)
32+
- [`8u302-b08-jdk-centos7`, `8-jdk-centos7`, `8-centos7`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/8/jdk/centos/Dockerfile.releases.full)
33+
- [`8u302-b08-jdk-windowsservercore-1809`, `8-jdk-windowsservercore-1809`, `8-windowsservercore-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/8/jdk/windows/windowsservercore-1809/Dockerfile.releases.full)
34+
- [`8u302-b08-jdk-windowsservercore-ltsc2016`, `8-jdk-windowsservercore-ltsc2016`, `8-windowsservercore-ltsc2016`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/8/jdk/windows/windowsservercore-ltsc2016/Dockerfile.releases.full)
35+
- [`8u302-b08-jdk-nanoserver-1809`, `8-jdk-nanoserver-1809`, `8-nanoserver-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/8/jdk/windows/nanoserver-1809/Dockerfile.releases.full)
36+
- [`11.0.12_7-jdk-focal`, `11-jdk-focal`, `11-focal`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/11/jdk/ubuntu/Dockerfile.releases.full)
37+
- [`11.0.12_7-jdk-centos7`, `11-jdk-centos7`, `11-centos7`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/11/jdk/centos/Dockerfile.releases.full)
38+
- [`11.0.12_7-jdk-windowsservercore-1809`, `11-jdk-windowsservercore-1809`, `11-windowsservercore-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/11/jdk/windows/windowsservercore-1809/Dockerfile.releases.full)
39+
- [`11.0.12_7-jdk-windowsservercore-ltsc2016`, `11-jdk-windowsservercore-ltsc2016`, `11-windowsservercore-ltsc2016`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/11/jdk/windows/windowsservercore-ltsc2016/Dockerfile.releases.full)
40+
- [`11.0.12_7-jdk-nanoserver-1809`, `11-jdk-nanoserver-1809`, `11-nanoserver-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/11/jdk/windows/nanoserver-1809/Dockerfile.releases.full)
41+
- [`16.0.2_7-jdk-focal`, `16-jdk-focal`, `16-focal`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/16/jdk/ubuntu/Dockerfile.releases.full)
42+
- [`16.0.2_7-jdk-centos7`, `16-jdk-centos7`, `16-centos7`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/16/jdk/centos/Dockerfile.releases.full)
43+
- [`16.0.2_7-jdk-windowsservercore-1809`, `16-jdk-windowsservercore-1809`, `16-windowsservercore-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/16/jdk/windows/windowsservercore-1809/Dockerfile.releases.full)
44+
- [`16.0.2_7-jdk-windowsservercore-ltsc2016`, `16-jdk-windowsservercore-ltsc2016`, `16-windowsservercore-ltsc2016`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/16/jdk/windows/windowsservercore-ltsc2016/Dockerfile.releases.full)
45+
- [`16.0.2_7-jdk-nanoserver-1809`, `16-jdk-nanoserver-1809`, `16-nanoserver-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/16/jdk/windows/nanoserver-1809/Dockerfile.releases.full)
46+
47+
## Shared Tags
48+
49+
- `8u302-b08-jdk`, `8-jdk`, `8`:
50+
- [`8u302-b08-jdk-focal`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/8/jdk/ubuntu/Dockerfile.releases.full)
51+
- [`8u302-b08-jdk-windowsservercore-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/8/jdk/windows/windowsservercore-1809/Dockerfile.releases.full)
52+
- [`8u302-b08-jdk-windowsservercore-ltsc2016`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/8/jdk/windows/windowsservercore-ltsc2016/Dockerfile.releases.full)
53+
- `8u302-b08-jdk-windowsservercore`, `8-jdk-windowsservercore`, `8-windowsservercore`:
54+
- [`8u302-b08-jdk-windowsservercore-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/8/jdk/windows/windowsservercore-1809/Dockerfile.releases.full)
55+
- [`8u302-b08-jdk-windowsservercore-ltsc2016`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/8/jdk/windows/windowsservercore-ltsc2016/Dockerfile.releases.full)
56+
- `8u302-b08-jdk-nanoserver`, `8-jdk-nanoserver`, `8-nanoserver`:
57+
- [`8u302-b08-jdk-nanoserver-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/8/jdk/windows/nanoserver-1809/Dockerfile.releases.full)
58+
- `11.0.12_7-jdk`, `11-jdk`, `11`:
59+
- [`11.0.12_7-jdk-focal`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/11/jdk/ubuntu/Dockerfile.releases.full)
60+
- [`11.0.12_7-jdk-windowsservercore-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/11/jdk/windows/windowsservercore-1809/Dockerfile.releases.full)
61+
- [`11.0.12_7-jdk-windowsservercore-ltsc2016`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/11/jdk/windows/windowsservercore-ltsc2016/Dockerfile.releases.full)
62+
- `11.0.12_7-jdk-windowsservercore`, `11-jdk-windowsservercore`, `11-windowsservercore`:
63+
- [`11.0.12_7-jdk-windowsservercore-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/11/jdk/windows/windowsservercore-1809/Dockerfile.releases.full)
64+
- [`11.0.12_7-jdk-windowsservercore-ltsc2016`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/11/jdk/windows/windowsservercore-ltsc2016/Dockerfile.releases.full)
65+
- `11.0.12_7-jdk-nanoserver`, `11-jdk-nanoserver`, `11-nanoserver`:
66+
- [`11.0.12_7-jdk-nanoserver-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/11/jdk/windows/nanoserver-1809/Dockerfile.releases.full)
67+
- `16.0.2_7-jdk`, `16-jdk`, `16`, `latest`:
68+
- [`16.0.2_7-jdk-focal`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/16/jdk/ubuntu/Dockerfile.releases.full)
69+
- [`16.0.2_7-jdk-windowsservercore-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/16/jdk/windows/windowsservercore-1809/Dockerfile.releases.full)
70+
- [`16.0.2_7-jdk-windowsservercore-ltsc2016`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/16/jdk/windows/windowsservercore-ltsc2016/Dockerfile.releases.full)
71+
- `16.0.2_7-jdk-windowsservercore`, `16-jdk-windowsservercore`, `16-windowsservercore`:
72+
- [`16.0.2_7-jdk-windowsservercore-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/16/jdk/windows/windowsservercore-1809/Dockerfile.releases.full)
73+
- [`16.0.2_7-jdk-windowsservercore-ltsc2016`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/16/jdk/windows/windowsservercore-ltsc2016/Dockerfile.releases.full)
74+
- `16.0.2_7-jdk-nanoserver`, `16-jdk-nanoserver`, `16-nanoserver`:
75+
- [`16.0.2_7-jdk-nanoserver-1809`](https://github.com/adoptium/containers/blob/94ec04760777535e1ba0374f5ba051eabcf9b2ac/16/jdk/windows/nanoserver-1809/Dockerfile.releases.full)
76+
77+
# Quick reference (cont.)
78+
79+
- **Where to file issues**:
80+
[GitHub](https://github.com/adoptium/containers/issues); The [adoptium support](https://adoptium.net/support.html) page has more information on quality, roadmap and support levels for Eclipse Temurin builds;
81+
82+
- **Supported architectures**: ([more info](https://github.com/docker-library/official-images#architectures-other-than-amd64))
83+
[`amd64`](https://hub.docker.com/r/amd64/eclipse-temurin/), [`arm64v8`](https://hub.docker.com/r/arm64v8/eclipse-temurin/), [`ppc64le`](https://hub.docker.com/r/ppc64le/eclipse-temurin/), [`s390x`](https://hub.docker.com/r/s390x/eclipse-temurin/), [`windows-amd64`](https://hub.docker.com/r/winamd64/eclipse-temurin/)
84+
85+
- **Published image artifact details**:
86+
[repo-info repo's `repos/eclipse-temurin/` directory](https://github.com/docker-library/repo-info/blob/master/repos/eclipse-temurin) ([history](https://github.com/docker-library/repo-info/commits/master/repos/eclipse-temurin))
87+
(image metadata, transfer size, etc)
88+
89+
- **Image updates**:
90+
[official-images repo's `library/eclipse-temurin` label](https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Feclipse-temurin)
91+
[official-images repo's `library/eclipse-temurin` file](https://github.com/docker-library/official-images/blob/master/library/eclipse-temurin) ([history](https://github.com/docker-library/official-images/commits/master/library/eclipse-temurin))
92+
93+
- **Source of this description**:
94+
[docs repo's `eclipse-temurin/` directory](https://github.com/docker-library/docs/tree/master/eclipse-temurin) ([history](https://github.com/docker-library/docs/commits/master/eclipse-temurin))
95+
96+
## Overview
97+
98+
The images in this repository contain OpenJDK binaries that are built by Eclipse Temurin.
99+
100+
# What is Eclipse Temurin ?
101+
102+
The Eclipse Temurin project provides code and processes that support the building of runtime binaries and associated technologies that are high performance, enterprise-caliber, cross-platform, open-source licensed, and Java SE TCK-tested for general use across the Java ecosystem.
103+
104+
# Images
105+
106+
Current there are only JDK (Java Developer Kit) images. On OpenJDK 11+ JRE's can be produced using `jlink` (see usage below).
107+
108+
### Multi-Arch Image
109+
110+
Docker Images for the following architectures are now available:
111+
112+
- `amd64`, `windows-amd64`, `arm64v8`, `ppc64le`
113+
114+
More architecures will be available shortly.
115+
116+
# How to use this Image
117+
118+
To run a pre-built jar file with the latest OpenJDK 11, use the following Dockerfile:
119+
120+
```dockerfile
121+
FROM eclipse-temurin:11
122+
RUN mkdir /opt/app
123+
COPY japp.jar /opt/app
124+
CMD ["java", "-jar", "/opt/app/japp.jar"]
125+
```
126+
127+
You can build and run the Docker Image as shown in the following example:
128+
129+
```console
130+
docker build -t japp .
131+
docker run -it --rm japp
132+
```
133+
134+
### Using a different base Image
135+
136+
If you are using a distribution that we don't provide an image for you can copy the JDK using a similar Dockerfile to the one below:
137+
138+
```dockerfile
139+
# Example
140+
FROM <base image>
141+
ENV JAVA_HOME=/opt/java/openjdk
142+
COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME
143+
ENV PATH="${JAVA_HOME}/bin:${PATH}"
144+
```
145+
146+
### Creating a JRE using jlink
147+
148+
On OpenJDK 11+, a JRE can be generated using `jlink`, see the following Dockerfile:
149+
150+
```dockerfile
151+
# Example of custom Java runtime using jlink in a multi-stage container build
152+
FROM eclipse-temurin:11 as jre-build
153+
154+
# Create a custom Java runtime
155+
RUN $JAVA_HOME/bin/jlink \
156+
--add-modules java.base \
157+
--strip-debug \
158+
--no-man-pages \
159+
--no-header-files \
160+
--compress=2 \
161+
--output /javaruntime
162+
163+
# Define your base image
164+
FROM debian:buster-slim
165+
ENV JAVA_HOME=/opt/java/openjdk
166+
ENV PATH "${JAVA_HOME}/bin:${PATH}"
167+
COPY --from=jre-build /javaruntime $JAVA_HOME
168+
169+
# Continue with your application deployment
170+
RUN mkdir /opt/app
171+
COPY japp.jar /opt/app
172+
CMD ["java", "-jar", "/opt/app/japp.jar"]
173+
```
174+
175+
If you want to place the jar file on the host file system instead of inside the container, you can mount the host path onto the container by using the following commands:
176+
177+
```dockerfile
178+
FROM eclipse-temurin:11.0.12_7-jdk
179+
CMD ["java", "-jar", "/opt/app/japp.jar"]
180+
```
181+
182+
```console
183+
docker build -t japp .
184+
docker run -it -v /path/on/host/system/jars:/opt/app japp
185+
```
186+
187+
# Image Variants
188+
189+
The `eclipse-temurin` images come in many flavors, each designed for a specific use case.
190+
191+
## `eclipse-temurin:<version>`
192+
193+
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.
194+
195+
Some of these tags may have names like focal in them. These are the suite code names for releases of [Ubuntu](https://wiki.ubuntu.com/Releases) and indicate which release the image is based on. If your image needs to install any additional packages beyond what comes with the image, you'll likely want to specify one of these explicitly to minimize breakage when there are new releases of Ubuntu.
196+
197+
## `eclipse-temurin:<version>-windowsservercore`
198+
199+
This image is based on [Windows Server Core (`microsoft/windowsservercore`)](https://hub.docker.com/r/microsoft/windowsservercore/). As such, it only works in places which that image does, such as Windows 10 Professional/Enterprise (Anniversary Edition) or Windows Server 2016.
200+
201+
For information about how to get Docker running on Windows, please see the relevant "Quick Start" guide provided by Microsoft:
202+
203+
- [Windows Server Quick Start](https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_server)
204+
- [Windows 10 Quick Start](https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_10)
205+
206+
# License
207+
208+
The Dockerfiles and associated scripts are licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).
209+
210+
Licenses for the products installed within the images:
211+
212+
- OpenJDK: The project license is GNU GPL v2 with Classpath Exception.
213+
214+
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
215+
216+
Some additional license information which was able to be auto-detected might be found in [the `repo-info` repository's `eclipse-temurin/` directory](https://github.com/docker-library/repo-info/tree/master/repos/eclipse-temurin).
217+
218+
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.

0 commit comments

Comments
 (0)