1 Star 0 Fork 0

2144/cocoyaxi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.67 KB
一键复制 编辑 原始数据 按行查看 历史
qixuxiang 提交于 2021-07-09 07:11 . fix Dockerfile
ARG BASE_IMAGE=ubuntu:18.04
FROM ${BASE_IMAGE}
LABEL maintainer="qixuxiang<qixuxiang@outlook.com>"
WORKDIR /home/co/
RUN mv /etc/apt/sources.list /etc/apt/sources.list_bk
RUN echo "deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse" >> /etc/apt/sources.list
RUN echo "deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse" >> /etc/apt/sources.list
RUN echo "deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse" >> /etc/apt/sources.list
RUN echo "deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse" >> /etc/apt/sources.list
RUN echo "deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse" >> /etc/apt/sources.list
RUN echo "deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse" >> /etc/apt/sources.list
RUN echo "deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse" >> /etc/apt/sources.list
RUN echo "deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse" >> /etc/apt/sources.list
RUN echo "deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse" >> /etc/apt/sources.list
RUN echo "deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse" >> /etc/apt/sources.list
RUN apt-get -y update && apt-get -y upgrade < /dev/null
RUN apt-get install -y --no-install-recommends ca-certificates -y build-essential curl wget unzip git rsync dh-autoreconf pkg-config libtool libtool-bin libcurl4-openssl-dev zlib1g-dev openssl libssl-dev cmake gcc-7 g++-7
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/iamherer/cocoyaxi.git
git@gitee.com:iamherer/cocoyaxi.git
iamherer
cocoyaxi
cocoyaxi
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385