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

Fix Docker image build by using Ubuntu old-release apt repository
This commit is contained in:
K4YT3X 2021-02-23 21:45:12 +00:00 committed by GitHub
commit 26d82e1582
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,9 @@ 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 installation
RUN apt-get update \
&& apt-get install -y git-core \