Giter VIP home page Giter VIP logo

openeuler-docker-images's Introduction

openEuler官方容器镜像仓

介绍

这里存放着由openEuler官方提供的容器镜像,包含openEuler基础镜像、应用镜像。

openEuler基础镜像

openEuler的基础镜像由社区官方发布,目前发布在openEuler镜像站

"openeuler:latest"是最新可用的长期稳定镜像。

镜像发布后,会同步推送到各个远端容器镜像仓,信息如下:

openEuler应用镜像

基于openEuler基础镜像,将一些热门应用进行发布,生成基于openEuler的应用镜像。

  • 存放路径规则:[应用名]/[应用版本号]/[openEuler版本号]/Dockerfile, 例如:基于openEuler 20.03-lts-sp1的nginx 1.20.1的Dockerfile位于nginx/1.20.1/20.03-lts-sp1/Dockerfile
  • Tags命名:合入后,将会发布至openeuler仓库, 例如:openeuler/nginx:1.20.1-20.03-lts-sp1

每个应用镜像,应当包含一个README(例如nginx/README.md),涵盖以下信息:

  • 构建容器镜像的说明。
  • 配套的openEuler、容器(例如Docker, iSula)及应用的版本信息。

应用镜像的Dockerfile合入后,会触发jenkins上的CI流水线自动构建镜像并发布,默认使用docker buildx插件来构建amd64和arm64两种,构建的指令方式为:

  • 切换到[应用名]/[应用版本号]/[openEuler版本号]目录
  • 执行docker buildx build -t tag_name --platform linux/amd64,linux/arm64 .

国内镜像仓

目前支持的第三方国内镜像仓有:

参与贡献

欢迎发表想法、提交问题、贡献代码。

openeuler-docker-images's People

Contributors

fffrog avatar nelson-he avatar openeuler-bot avatar suisuisuixin avatar xiangxinyong avatar yikun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

openeuler-docker-images's Issues

基于openeuler:22.09 构建镜像报错 waiting for transaction lock on /var/lib/rpm/.rpm.lock

dockerfile 中基于openeuler:22.09 使用rpm安装软件,报错waiting for transaction lock on /var/lib/rpm/.rpm.lock

并不存在文件/var/lib/rpm/.rpm.lock , 尝试删除 rm -rf /var/lib/rpm/.rpm.lock 未能修复

  • rpmkeys --checksig /tmp/percona-release.rpm
    /tmp/percona-release.rpm: digests signatures OK
  • rpm -i /tmp/percona-release.rpm
    warning: waiting for transaction lock on /var/lib/rpm/.rpm.lock

dockerfile

`FROM docker.io/openeuler/openeuler:22.09

Please don't remove old-style LABEL since it's needed for RedHat certification

LABEL name="Percona XtraBackup"
release="8.0"
vendor="Percona"
summary="Percona XtraBackup is an open-source hot backup utility for MySQL - based servers that doesn’t lock your database during the backup"
description="Percona XtraBackup works with MySQL, MariaDB, and Percona Server. It supports completely non-blocking backups of InnoDB, XtraDB, and HailDB storage engines. In addition, it can back up the following storage engines by briefly pausing writes at the end of the backup: MyISAM, Merge, and Archive, including partitioned tables, triggers, and database options."
maintainer="Percona Development [email protected]"

LABEL org.opencontainers.image.title="Percona XtraDB Cluster"
LABEL org.opencontainers.image.vendor="Percona"
LABEL org.opencontainers.image.description="Percona XtraDB Cluster is a high availability solution that
helps enterprises avoid downtime and outages and meet expected customer experience."
LABEL org.opencontainers.image.license="GPL"

ENV PXB_VERSION 8.0.29-22.1
ENV PS_VERSION 8.0.29-21.1

ENV PXC_VERSION 8.0.29-21.1
ENV PXC_REPO release
ENV KUBECTL_VERSION=v1.19.12
ENV KUBECTL_SHA256SUM=9a9123b58e3287fdca20db45ab003426d30e7a77ec57605fa25947bc68f6cabf
ENV OS_VER el8
ENV FULL_PERCONA_VERSION "$PS_VERSION.$OS_VER"
ENV FULL_PERCONA_XTRABACKUP_VERSION "$PXB_VERSION.$OS_VER"
ENV FULL_PERCONA_XTRADBCLUSTER_VERSION "$PXC_VERSION.$OS_VER"
LABEL org.label-schema.schema-version=${PXC_VERSION}
LABEL org.opencontainers.image.version=${PXC_VERSION}

USER 0

check repository package signature in secure way

RUN set -ex;
export GNUPGHOME="$(mktemp -d)";
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 430BDF5C56E7C94E848EE60C1C4CBDCDCD2EFD2A 99DB70FAE1D7CE227FB6488205B555B38483C65D 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1;
gpg --batch --export --armor 430BDF5C56E7C94E848EE60C1C4CBDCDCD2EFD2A > ${GNUPGHOME}/RPM-GPG-KEY-Percona;
gpg --batch --export --armor 99DB70FAE1D7CE227FB6488205B555B38483C65D > ${GNUPGHOME}/RPM-GPG-KEY-centosofficial;
gpg --batch --export --armor 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 > ${GNUPGHOME}/RPM-GPG-KEY-EPEL-8;
rpmkeys --import ${GNUPGHOME}/RPM-GPG-KEY-Percona ${GNUPGHOME}/RPM-GPG-KEY-centosofficial ${GNUPGHOME}/RPM-GPG-KEY-EPEL-8;
dnf install -y findutils;
curl -Lf -o /tmp/percona-release.rpm https://repo.percona.com/yum/percona-release-latest.noarch.rpm;
rpmkeys --checksig /tmp/percona-release.rpm;
rpm -i /tmp/percona-release.rpm ;
rm -rf "$GNUPGHOME" /tmp/percona-release.rpm;
rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY
`

version: docker.io/openeuler/openeuler:22.09
docker version
Client: Docker Engine - Community
Version: 20.10.8
API version: 1.41
Go version: go1.16.6
Git commit: 3967b7d
Built: Fri Jul 30 19:55:49 2021
OS/Arch: linux/amd64
Context: default
Experimental: true

Server: Docker Engine - Community
Engine:
Version: 20.10.17
API version: 1.41 (minimum version 1.12)
Go version: go1.17.11
Git commit: a89b842
Built: Mon Jun 6 23:03:33 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.6
GitCommit: 10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1
runc:
Version: 1.1.2
GitCommit: v1.1.2-0-ga916309
docker-init:
Version: 0.19.0
GitCommit: de40ad0

uname -r
3.10.0-957.el7.x86_64

cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.