更新mysql构建文件,解决由于mysql基础镜像更新了系统造成无法编译成功的问题。

This commit is contained in:
KennyLee 2019-03-18 15:53:16 +08:00
parent f8e4fadcf3
commit 9a1e5bceb0
2 changed files with 9 additions and 1 deletions

View File

@ -3,7 +3,7 @@ FROM mysql:5.7
# 维护者信息
MAINTAINER kennylee26 <kennylee26@gmail.com>
RUN curl -o /etc/apt/sources.list http://gitee.com/kennylee/docker/raw/master/assets/debian/stretch.sources.list
COPY stretch.sources.list /etc/apt/sources.list
RUN apt-get update && \
apt-get install -y curl git unzip vim wget && \

View File

@ -0,0 +1,8 @@
deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb http://mirrors.aliyun.com/debian-security stretch/updates main
deb-src http://mirrors.aliyun.com/debian-security stretch/updates main
deb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib