Merge pull request #471 from PeterDaveHello/fix-docker-build

Fix sources.list path in Dockerfile, cc #470
This commit is contained in:
K4YT3X 2021-02-24 16:57:20 +00:00 committed by GitHub
commit 079a2aa64b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 \