51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

centos 镜像with gcc aliyun 源

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

{#more-18254}

基础镜像汇总 : 链接

docker 汇总 : 链接

赞(1)
未经允许不得转载:工具盒子 » centos 镜像with gcc aliyun 源