diff --git a/Distroless/update.sh b/Distroless/update.sh new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Others/image-list.yml b/Others/image-list.yml index d392f2f73481533da34e6427426d27b312f55245..5464e1f9ad60e0daae52ea1adfe8c67e13a55894 100644 --- a/Others/image-list.yml +++ b/Others/image-list.yml @@ -82,4 +82,7 @@ images: nagios: nagios libyuv: libyuv spring-cloud: spring-cloud - llvm: llvm \ No newline at end of file + llvm: llvm + test: test + test2: test2 + test1: test1 \ No newline at end of file diff --git a/Others/test1/1.0.0/24.03-lts-sp1/Dockerfile b/Others/test1/1.0.0/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..1cd523a8168ab0b602073aa71a1d63d2381287da --- /dev/null +++ b/Others/test1/1.0.0/24.03-lts-sp1/Dockerfile @@ -0,0 +1,5 @@ +ARG BASE=openeuler/npmjs:latest +FROM ${BASE} + +ARG VERSION=1.0.4 +RUN npm install -g catj@${VERSION} diff --git a/Others/test1/README.md b/Others/test1/README.md new file mode 100644 index 0000000000000000000000000000000000000000..497c6dbec802df74112107f76c6e26510b781891 --- /dev/null +++ b/Others/test1/README.md @@ -0,0 +1,75 @@ +# Quick reference + +- The official catj docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative). + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community). + +# catj | openEuler +Current catj docker images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +Displays JSON files in a flat format. + +# Supported tags and respective Dockerfile links +The tag of each `catj` docker image is consist of the version of `catj` and the version of basic image. The details are as follows + +| Tag | Currently | Architectures | +|----------|-------------|------------------| +|[1.0.4-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/catj/1.0.4/24.03-lts-sp1/Dockerfile)| catj 1.0.4 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +# Usage +In this usage, users can select the corresponding `{Tag}` based on their requirements. + +- Pull the `openeuler/catj` image from docker + + ```bash + docker pull openeuler/catj:{Tag} + ``` + +- Run with an interactive shell + + You can also start the container with an interactive shell to use catj. + ``` + docker run -it --rm openeuler/catj:{Tag} bash + ``` + +- Using catj + + catj [file] + If no file is specified, catj reads from the standard input. + + Input: + ``` + { + "mappings": { + "templates": [ + { + "fields": { + "mapping": { + "norms": false, + "type": "text", + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + } + } + } + } + ] + } + } + ``` + + Output: + ``` + .mappings.templates[0].fields.mapping.norms = false + .mappings.templates[0].fields.mapping.type = "text" + .mappings.templates[0].fields.mapping.fields.keyword.ignore_above = 256 + .mappings.templates[0].fields.mapping.fields.keyword.type = "keyword" + ``` + +# Question and answering +If you have any questions or want to use some special features, please submit an issue or a pull request on [openeuler-docker-images](https://gitee.com/openeuler/openeuler-docker-images). \ No newline at end of file diff --git a/Others/test1/doc/image-info.yml b/Others/test1/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..562d58caf2e1594b9b306c4b466f21e791035437 --- /dev/null +++ b/Others/test1/doc/image-info.yml @@ -0,0 +1,52 @@ +name: tomcat +category: others +description: Apache Tomcat 是最流行的开源 Java Servlet 容器和 Web 服务器之一, 它实现了 Java Servlet、JSP(JavaServer Pages)、WebSocket 等 Java EE(现在叫 Jakarta EE)规范的核心部分。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + tomcat镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + |[9.0.10-oe2003sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/tomcat/9.0.10/20.03-lts-sp1/Dockerfile)| Tomcat 9.0.10 on openEuler 20.03-LTS-SP1 | amd64, arm64 | + |[11.0.7-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/tomcat/11.0.7/24.03-lts-sp1/Dockerfile)| Tomcat 11.0.7 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/tomcat:{Tag} + ``` + +usage: | + - 启动容器 + ``` + docker run -d --name my-tomcat -p 8080:8080 openeuler/tomcat:{Tag} + ``` + 用户可根据自身需求选择对应版本的{Tag}、容器启动的选项。`my-tomcat`启动之后,通过`http://localhost:8080`访问tomcat服务。 + + - 启动参数 + + | Parameter | Description | + |----------------|---------------| + | -p 8080:8080 | 暴露tomcat服务端口 | + + - 容器测试 + + 查看运行日志 + ``` + docker logs -f my-tomcat + ``` + + 使用shell交互 + ``` + docker exec -it my-tomcat bash + ``` + +license: Apache-2.0 license +similar_packages: + - Jetty: 一个轻量级的 Java Servlet 容器,和 Tomcat 类似,但更灵活嵌入式。 +dependency: + - openjdk \ No newline at end of file diff --git a/Others/test1/doc/picture/logo.png b/Others/test1/doc/picture/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Others/test1/meta.yml b/Others/test1/meta.yml new file mode 100644 index 0000000000000000000000000000000000000000..7303d59ff6cceb558d1a9704c018df8b60c0c844 --- /dev/null +++ b/Others/test1/meta.yml @@ -0,0 +1,2 @@ +1.0.4-oe2403sp1: + path: 1.0.0/24.03-lts-sp1/Dockerfile diff --git a/Others/test1/text.txt b/Others/test1/text.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d07aa0df55c353e18eea6f1b401946b5dad7bce --- /dev/null +++ b/Others/test1/text.txt @@ -0,0 +1 @@ +111 \ No newline at end of file diff --git a/Others/test2/1.0.4/24.03-lts-sp1/Dockerfile b/Others/test2/1.0.4/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..1cd523a8168ab0b602073aa71a1d63d2381287da --- /dev/null +++ b/Others/test2/1.0.4/24.03-lts-sp1/Dockerfile @@ -0,0 +1,5 @@ +ARG BASE=openeuler/npmjs:latest +FROM ${BASE} + +ARG VERSION=1.0.4 +RUN npm install -g catj@${VERSION} diff --git a/Others/test2/README.md b/Others/test2/README.md new file mode 100644 index 0000000000000000000000000000000000000000..497c6dbec802df74112107f76c6e26510b781891 --- /dev/null +++ b/Others/test2/README.md @@ -0,0 +1,75 @@ +# Quick reference + +- The official catj docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative). + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community). + +# catj | openEuler +Current catj docker images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +Displays JSON files in a flat format. + +# Supported tags and respective Dockerfile links +The tag of each `catj` docker image is consist of the version of `catj` and the version of basic image. The details are as follows + +| Tag | Currently | Architectures | +|----------|-------------|------------------| +|[1.0.4-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/catj/1.0.4/24.03-lts-sp1/Dockerfile)| catj 1.0.4 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +# Usage +In this usage, users can select the corresponding `{Tag}` based on their requirements. + +- Pull the `openeuler/catj` image from docker + + ```bash + docker pull openeuler/catj:{Tag} + ``` + +- Run with an interactive shell + + You can also start the container with an interactive shell to use catj. + ``` + docker run -it --rm openeuler/catj:{Tag} bash + ``` + +- Using catj + + catj [file] + If no file is specified, catj reads from the standard input. + + Input: + ``` + { + "mappings": { + "templates": [ + { + "fields": { + "mapping": { + "norms": false, + "type": "text", + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + } + } + } + } + ] + } + } + ``` + + Output: + ``` + .mappings.templates[0].fields.mapping.norms = false + .mappings.templates[0].fields.mapping.type = "text" + .mappings.templates[0].fields.mapping.fields.keyword.ignore_above = 256 + .mappings.templates[0].fields.mapping.fields.keyword.type = "keyword" + ``` + +# Question and answering +If you have any questions or want to use some special features, please submit an issue or a pull request on [openeuler-docker-images](https://gitee.com/openeuler/openeuler-docker-images). \ No newline at end of file diff --git a/Others/test2/doc/image-info.yml b/Others/test2/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..562d58caf2e1594b9b306c4b466f21e791035437 --- /dev/null +++ b/Others/test2/doc/image-info.yml @@ -0,0 +1,52 @@ +name: tomcat +category: others +description: Apache Tomcat 是最流行的开源 Java Servlet 容器和 Web 服务器之一, 它实现了 Java Servlet、JSP(JavaServer Pages)、WebSocket 等 Java EE(现在叫 Jakarta EE)规范的核心部分。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + tomcat镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + |[9.0.10-oe2003sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/tomcat/9.0.10/20.03-lts-sp1/Dockerfile)| Tomcat 9.0.10 on openEuler 20.03-LTS-SP1 | amd64, arm64 | + |[11.0.7-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/tomcat/11.0.7/24.03-lts-sp1/Dockerfile)| Tomcat 11.0.7 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/tomcat:{Tag} + ``` + +usage: | + - 启动容器 + ``` + docker run -d --name my-tomcat -p 8080:8080 openeuler/tomcat:{Tag} + ``` + 用户可根据自身需求选择对应版本的{Tag}、容器启动的选项。`my-tomcat`启动之后,通过`http://localhost:8080`访问tomcat服务。 + + - 启动参数 + + | Parameter | Description | + |----------------|---------------| + | -p 8080:8080 | 暴露tomcat服务端口 | + + - 容器测试 + + 查看运行日志 + ``` + docker logs -f my-tomcat + ``` + + 使用shell交互 + ``` + docker exec -it my-tomcat bash + ``` + +license: Apache-2.0 license +similar_packages: + - Jetty: 一个轻量级的 Java Servlet 容器,和 Tomcat 类似,但更灵活嵌入式。 +dependency: + - openjdk \ No newline at end of file diff --git a/Others/test2/doc/picture/logo.png b/Others/test2/doc/picture/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Others/test2/meta.yml b/Others/test2/meta.yml new file mode 100644 index 0000000000000000000000000000000000000000..c80d0b471bb006f24c074f1783c37989616eb94d --- /dev/null +++ b/Others/test2/meta.yml @@ -0,0 +1,2 @@ +1.0.4-oe2403sp1: + path: 1.0.4/24.03-lts-sp1/Dockerfile diff --git a/Others/test2/text.txt b/Others/test2/text.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d07aa0df55c353e18eea6f1b401946b5dad7bce --- /dev/null +++ b/Others/test2/text.txt @@ -0,0 +1 @@ +111 \ No newline at end of file diff --git a/Others/tomcat/doc/picture/logo.png b/Others/tomcat/doc/picture/logo.png deleted file mode 100644 index 180177354c08296ef75bcc9faef05b0d6b8ac234..0000000000000000000000000000000000000000 Binary files a/Others/tomcat/doc/picture/logo.png and /dev/null differ diff --git a/test.txt b/test.txt new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391