Skip to content

Commit

Permalink
fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
qixuxiang committed Jul 8, 2021
1 parent c82fdc1 commit 9dcbfd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ ARG BASE_IMAGE=ubuntu:18.04
FROM ${BASE_IMAGE}
LABEL maintainer="qixuxiang<[email protected]>"
WORKDIR /home/co/
RUN cp /etc/apt/sources.list /etc/apt/sources.list_bk

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
Expand Down

0 comments on commit 9dcbfd6

Please sign in to comment.