From 3b990edb2c8a14f478ada63ea45ac517e893598f Mon Sep 17 00:00:00 2001 From: Alan Yeh Date: Sat, 9 Dec 2023 10:41:33 +0800 Subject: [PATCH] =?UTF-8?q?[ADD]=20=E4=B8=BA=E4=BB=93=E5=BA=93=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20README=E3=80=81LICENSE=20=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alan Yeh --- LICENSE | 21 +++++++++++++++++++++ README.md | 11 +++++++++++ openjdk/README.md | 10 ++++++++++ openjdk/docker-bake.hcl | 3 +-- 4 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 openjdk/README.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..7426adf --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022-present Alan Yeh + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..db208d9 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# Containers +## 概述 +  本仓库用于保存常用的容器镜像。 + +## 镜像清单 + +- OpenJDK: 封装了 Azul Zulu OpenJDK +- Spring Runner: 提供了 Spring Boot 可执行文件的运行环境 + +## License +[MIT License](./LICENSE) \ No newline at end of file diff --git a/openjdk/README.md b/openjdk/README.md new file mode 100644 index 0000000..ca14c5c --- /dev/null +++ b/openjdk/README.md @@ -0,0 +1,10 @@ +# OpenJDK +## 简介 +  本镜像封装了 Azul Zulu OpenJDK[[链接](https://www.azul.com)],为 Java 可执行程序提供运行环境。 + +## 版本说明 + +- OpenJDK 8: `8`, `8.0.392`, `8-ubuntu`, `8.0.392-ubuntu`, `8-alpine`, `8.0.392-alpine` +- OpenJDK 11: `11`, `11.0.21`, `11-ubuntu`, `11.0.21-ubuntu`, `11-alpine`, `11.0.21-alpine` +- OpenJDK 17: `17`, `17.0.9`, `17-ubuntu`, `17.0.9-ubuntu`, `17-alpine`, `17.0.9-alpine` +- OpenJDK 21: `21`, `21.0.1`, `21-ubuntu`, `21.0.1-ubuntu`, `21-alpine`, `21.0.1-alpine` diff --git a/openjdk/docker-bake.hcl b/openjdk/docker-bake.hcl index 1f62f44..7330367 100644 --- a/openjdk/docker-bake.hcl +++ b/openjdk/docker-bake.hcl @@ -75,10 +75,9 @@ target "openjdk-ubuntu" { ARM64_PACKAGE = "${OPENJDK_ARM64_PACKAGE}" } tags = [ - "docker.io/centralx/openjdk:latest", "docker.io/centralx/openjdk:${OPENJDK_SHORT_VERSION}", - "docker.io/centralx/openjdk:${OPENJDK_SHORT_VERSION}-ubuntu", "docker.io/centralx/openjdk:${OPENJDK_FULL_VERSION}", + "docker.io/centralx/openjdk:${OPENJDK_SHORT_VERSION}-ubuntu", "docker.io/centralx/openjdk:${OPENJDK_FULL_VERSION}-ubuntu" ] }