Fix sources.list path in Dockerfile, cc #470

This commit is contained in:
Peter Dave Hello 2021-02-25 00:30:40 +08:00
parent 26d82e1582
commit 9cdddd2e41

View File

@ -18,8 +18,8 @@ LABEL maintainer="Danielle Douglas <ddouglas87@gmail.com>"
LABEL maintainer="Lhanjian <lhjay1@foxmail.com>"
LABEL maintainer="K4YT3X <k4yt3x@k4yt3x.com>"
RUN sed -i 's/archive.ubuntu.com/old-releases.ubuntu.com/g' sources.list
RUN sed -i 's/security.ubuntu.com/old-releases.ubuntu.com/g' sources.list
RUN sed -i 's/archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
RUN sed -i 's/security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
# run installation
RUN apt-get update \