centos 镜像with gcc aliyun 源
registry.cn-hangzhou.aliyuncs.com/kattgatt-base/centos79-ali-gcc:v1.1
Dockerfile:
FROM centos:centos7.9.2009
MAINTAINER zhaozhiyong "715740383@qq.com"
RUN mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup \
&& curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo \
&& sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo \
&& yum install -y gcc make
asfd
#!/bin/bash
imagename=centos79-ali-gcc:v1.1
docker build -t registry.cn-hangzhou.aliyuncs.com/kattgatt-base/$imagename --no-cache -f Dockerfile . --progress=plain
docker push registry.cn-hangzhou.aliyuncs.com/kattgatt-base/$imagename
基础镜像汇总 : 链接
docker 汇总 : 链接
欢迎来撩 : 汇总all