Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OBDIAG的开发环境镜像 #500

Merged
merged 2 commits into from
Oct 22, 2024
Merged

OBDIAG的开发环境镜像 #500

merged 2 commits into from
Oct 22, 2024

Conversation

YOMO-Lee
Copy link
Contributor

Summary

可以一键配置OBDIAG的开发环境,降低学习门槛

Solution Description

基于DEV CONTAINER实现

YOMO-Lee and others added 2 commits October 22, 2024 20:07
基于DEV CONTAINER构建了一个obdiag 开发环境的dokcer镜像,降低OBDIAG初始化环境复杂度。
@CLAassistant
Copy link

CLAassistant commented Oct 22, 2024

CLA assistant check
All committers have signed the CLA.

@YOMO-Lee YOMO-Lee marked this pull request as draft October 22, 2024 12:15
@YOMO-Lee YOMO-Lee marked this pull request as ready for review October 22, 2024 12:15
Dockerfile Show resolved Hide resolved
@YOMO-Lee
Copy link
Contributor Author

image

这个不是自定义的镜像,是docker hub的国内镜像源,最近docker镜像经常出问题,使用官方镜像担心拉不到,这个镜像源也是社区里 王运来老师 介绍的,地址:https://docker.aityp.com/image/docker.io/centos:centos7.9.2009

{
    "Id": "sha256:eeb6ee3f44bd0b5103bb561b4c16bcb82328cfe5809ab675bb17ab3a16c517c9",
    "RepoTags": [
        "centos:centos7.9.2009",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/centos:centos7.9.2009"
    ],
    "RepoDigests": [
        "centos@sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/centos@sha256:dead07b4d8ed7e29e98de0f4504d87e8880d4347859d839686a31da35a3b532f"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-09-15T18:20:23.99863383Z",
    "Container": "5e4c7bfd35862166e9efd7532208300600114f0acff8f82fd537a57bdd523fe2",
    "ContainerConfig": {
        "Hostname": "5e4c7bfd3586",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "Cmd": [
            "/bin/sh",
            "-c",
            "#(nop) ",
            "CMD [\"/bin/bash\"]"
        ],
        "Image": "sha256:ba35a4b787c8f11e3b6ed9248c7663b4f27459e9715a1ace09f966259d5ebc3a",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.label-schema.build-date": "20201113",
            "org.label-schema.license": "GPLv2",
            "org.label-schema.name": "CentOS Base Image",
            "org.label-schema.schema-version": "1.0",
            "org.label-schema.vendor": "CentOS",
            "org.opencontainers.image.created": "2020-11-13 00:00:00+00:00",
            "org.opencontainers.image.licenses": "GPL-2.0-only",
            "org.opencontainers.image.title": "CentOS Base Image",
            "org.opencontainers.image.vendor": "CentOS"
        }
    },
    "DockerVersion": "20.10.7",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "Cmd": [
            "/bin/bash"
        ],
        "Image": "sha256:ba35a4b787c8f11e3b6ed9248c7663b4f27459e9715a1ace09f966259d5ebc3a",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.label-schema.build-date": "20201113",
            "org.label-schema.license": "GPLv2",
            "org.label-schema.name": "CentOS Base Image",
            "org.label-schema.schema-version": "1.0",
            "org.label-schema.vendor": "CentOS",
            "org.opencontainers.image.created": "2020-11-13 00:00:00+00:00",
            "org.opencontainers.image.licenses": "GPL-2.0-only",
            "org.opencontainers.image.title": "CentOS Base Image",
            "org.opencontainers.image.vendor": "CentOS"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 203936249,
    "GraphDriver": {
        "Data": {
            "MergedDir": "/var/lib/docker/overlay2/bb49e46c4c4516866fc3a259916bcfdcfc64ce331f17c0c22d79aafdc213720e/merged",
            "UpperDir": "/var/lib/docker/overlay2/bb49e46c4c4516866fc3a259916bcfdcfc64ce331f17c0c22d79aafdc213720e/diff",
            "WorkDir": "/var/lib/docker/overlay2/bb49e46c4c4516866fc3a259916bcfdcfc64ce331f17c0c22d79aafdc213720e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:174f5685490326fc0a1c0f5570b8663732189b327007e47ff13d2ca59673db02"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-06-24T05:15:38.410777934Z"
    }
}

@Teingi
Copy link
Contributor

Teingi commented Oct 22, 2024

image

这个不是自定义的镜像,是docker hub的国内镜像源,最近docker镜像经常出问题,使用官方镜像担心拉不到,这个镜像源也是社区里 王运来老师 介绍的,地址:https://docker.aityp.com/image/docker.io/centos:centos7.9.2009

{
    "Id": "sha256:eeb6ee3f44bd0b5103bb561b4c16bcb82328cfe5809ab675bb17ab3a16c517c9",
    "RepoTags": [
        "centos:centos7.9.2009",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/centos:centos7.9.2009"
    ],
    "RepoDigests": [
        "centos@sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/centos@sha256:dead07b4d8ed7e29e98de0f4504d87e8880d4347859d839686a31da35a3b532f"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-09-15T18:20:23.99863383Z",
    "Container": "5e4c7bfd35862166e9efd7532208300600114f0acff8f82fd537a57bdd523fe2",
    "ContainerConfig": {
        "Hostname": "5e4c7bfd3586",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "Cmd": [
            "/bin/sh",
            "-c",
            "#(nop) ",
            "CMD [\"/bin/bash\"]"
        ],
        "Image": "sha256:ba35a4b787c8f11e3b6ed9248c7663b4f27459e9715a1ace09f966259d5ebc3a",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.label-schema.build-date": "20201113",
            "org.label-schema.license": "GPLv2",
            "org.label-schema.name": "CentOS Base Image",
            "org.label-schema.schema-version": "1.0",
            "org.label-schema.vendor": "CentOS",
            "org.opencontainers.image.created": "2020-11-13 00:00:00+00:00",
            "org.opencontainers.image.licenses": "GPL-2.0-only",
            "org.opencontainers.image.title": "CentOS Base Image",
            "org.opencontainers.image.vendor": "CentOS"
        }
    },
    "DockerVersion": "20.10.7",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "Cmd": [
            "/bin/bash"
        ],
        "Image": "sha256:ba35a4b787c8f11e3b6ed9248c7663b4f27459e9715a1ace09f966259d5ebc3a",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.label-schema.build-date": "20201113",
            "org.label-schema.license": "GPLv2",
            "org.label-schema.name": "CentOS Base Image",
            "org.label-schema.schema-version": "1.0",
            "org.label-schema.vendor": "CentOS",
            "org.opencontainers.image.created": "2020-11-13 00:00:00+00:00",
            "org.opencontainers.image.licenses": "GPL-2.0-only",
            "org.opencontainers.image.title": "CentOS Base Image",
            "org.opencontainers.image.vendor": "CentOS"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 203936249,
    "GraphDriver": {
        "Data": {
            "MergedDir": "/var/lib/docker/overlay2/bb49e46c4c4516866fc3a259916bcfdcfc64ce331f17c0c22d79aafdc213720e/merged",
            "UpperDir": "/var/lib/docker/overlay2/bb49e46c4c4516866fc3a259916bcfdcfc64ce331f17c0c22d79aafdc213720e/diff",
            "WorkDir": "/var/lib/docker/overlay2/bb49e46c4c4516866fc3a259916bcfdcfc64ce331f17c0c22d79aafdc213720e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:174f5685490326fc0a1c0f5570b8663732189b327007e47ff13d2ca59673db02"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-06-24T05:15:38.410777934Z"
    }
}

OK

Copy link
Contributor

@Teingi Teingi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Teingi Teingi merged commit dc59b33 into oceanbase:master Oct 22, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants