Files
openjdk/README.md
T
2021-07-13 14:46:49 +08:00

42 lines
750 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 简介
针对 OpenJDK 的 Docker 镜像,用于提供基础 Java 开发环境及运行环境。
使用说明可参考:官方说明
**JDK 版本信息:**
- 8u262
**镜像信息:**
* 镜像地址:
- Aliyun仓库:registry.cn-shenzhen.aliyuncs.com/colovu/openjdk
- DockerHubcolovu/openjdk
* 依赖镜像:debian:buster-slim
> 后续相关命令行默认使用`[Docker Hub](https://hub.docker.com)`镜像服务器做说明
## TL;DR
基本验证命令:
```shell
# 11之前的版本
$ docker run -it --rm colovu/openjdk javac -version
# 11之后的版本
$ docker run -it --rm colovu/openjdk javac --version
```
----
本文原始来源 [Endial Fang](https://github.com/colovu) @ [Github.com](https://github.com)