diff --git a/Cloud/flannel/0.26.7/24.03-lts-sp1/Dockerfile b/Cloud/flannel/0.26.7/24.03-lts-sp1/Dockerfile index ebbe5378eefe4750c375a15d5fb9c4b97595fd2d..0e14c39abaf83cbc425b52cb1d4b8394d6bc15ab 100644 --- a/Cloud/flannel/0.26.7/24.03-lts-sp1/Dockerfile +++ b/Cloud/flannel/0.26.7/24.03-lts-sp1/Dockerfile @@ -8,11 +8,14 @@ ARG GO_VERSION=1.23.7 ARG FLANNEL_URL=https://github.com/flannel-io/flannel/archive/refs/tags/v${VERSION}.tar.gz WORKDIR /app + RUN curl -fSL -o go.tar.gz https://golang.google.cn/dl/go${GO_VERSION}.linux-${TARGETARCH}.tar.gz && \ - tar -xvf go.tar.gz -C /usr/local + tar -xvf go.tar.gz -C /usr/local + ENV PATH="/usr/local/go/bin:${PATH}" RUN yum install -y conntrack-tools ipset net-tools + RUN if [ ${TARGETARCH} = "amd64" ]; then \ CGOFLAG=1; \ yum install -y gcc ; \ diff --git a/Cloud/flannel/README.md b/Cloud/flannel/README.md new file mode 100644 index 0000000000000000000000000000000000000000..b2ff19191f1cf47e107e23ed0c9bb2b50a933d4b --- /dev/null +++ b/Cloud/flannel/README.md @@ -0,0 +1,39 @@ +# Quick reference + +- The official flannel 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). + +# flannel | openEuler +Current flannel images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +Flannel is a simple and easy way to configure a layer 3 network fabric designed for Kubernetes. + +# Supported tags and respective dockerfile links +The tag of each `flannel` docker image is consist of the version of `flannel` and the version of basic image. The details are as follows + +| Tag | Currently | Architectures | +|-----------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|---------------| +| [0.26.7-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/flannel/0.26.7/24.03-lts-sp1/Dockerfile) | flannel 0.26.7 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/flannel` image from docker + + ``` + docker pull openeuler/flannel:{Tag} + ``` + +- Start a flannel instance + + ``` + docker run -it --rm openeuler/flannel:{Tag} + ``` + The `openeuler/flannel` image is used to verify the integration between the upstream flannel version and openEuler. + + +# 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/Cloud/flannel/doc/image-info.yml b/Cloud/flannel/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..705670fb65f0d25723e7f0ddb73b8862fea4bae2 --- /dev/null +++ b/Cloud/flannel/doc/image-info.yml @@ -0,0 +1,34 @@ +name: flannel +category: cloud +description: flannel 是一个为容器设计的网络 fabric,专为 Kubernetes 而设计。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + docker镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + |[0.26.7-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/flannel/0.26.7/24.03-lts-sp1/Dockerfile)| flannel 0.26.7 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/flannel:{Tag} + ``` + +usage: | + - 启动flannel实例 + + ``` + docker run -it --name flannel openeuler/flannel:{Tag} + ``` + `openeuler/flannel`镜像用于验证上游flannel版本和openEuler的集成。 + +license: Apache-2.0 license +similar_packages: + - N/A +dependency: + - N/A \ No newline at end of file diff --git a/Cloud/flannel/doc/picture/logo.png b/Cloud/flannel/doc/picture/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..4b4a1051842c8b1a73cbf3827e5527d9ddaa17b0 Binary files /dev/null and b/Cloud/flannel/doc/picture/logo.png differ diff --git a/Cloud/flannel/meta.yml b/Cloud/flannel/meta.yml index 2fa2f4b829b76ceb3781d75427a3296d44bb98a6..bd14e1a7d970b2dd87d7a048030a37a6bbca02a0 100644 --- a/Cloud/flannel/meta.yml +++ b/Cloud/flannel/meta.yml @@ -1,2 +1,2 @@ -0.26.5-oe2403sp1: - path: 0.26.5/24.03-lts-sp1/Dockerfile \ No newline at end of file +0.26.7-oe2403sp1: + path: 0.26.7/24.03-lts-sp1/Dockerfile \ No newline at end of file