Browse Source

use standard distro mirrors

master
Jeffrey Paul 6 months ago
parent
commit
695da6df25
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      Dockerfile

+ 6
- 6
Dockerfile View File

@@ -3,12 +3,12 @@ FROM ubuntu@sha256:d050ed7278c16ff627e4a70d7d353f1a2ec74d8a0b66e5a865356d92f5f6d

ENV DEBIAN_FRONTEND noninteractive

ARG UBUNTU_MIRROR=http://archive.ubuntu.com/ubuntu
RUN echo "deb $UBUNTU_MIRROR focal main universe restricted multiverse" > /etc/apt/sources.list.new && \
echo "deb $UBUNTU_MIRROR focal-updates main universe restricted multiverse" >> /etc/apt/sources.list.new && \
echo "deb $UBUNTU_MIRROR focal-security main universe restricted multiverse" >> /etc/apt/sources.list.new && \
echo "deb $UBUNTU_MIRROR focal-backports main universe restricted multiverse" >> /etc/apt/sources.list.new && \
mv /etc/apt/sources.list.new /etc/apt/sources.list
#ARG UBUNTU_MIRROR=http://archive.ubuntu.com/ubuntu
#RUN echo "deb $UBUNTU_MIRROR focal main universe restricted multiverse" > /etc/apt/sources.list.new && \
#echo "deb $UBUNTU_MIRROR focal-updates main universe restricted multiverse" >> /etc/apt/sources.list.new && \
#echo "deb $UBUNTU_MIRROR focal-security main universe restricted multiverse" >> /etc/apt/sources.list.new && \
#echo "deb $UBUNTU_MIRROR focal-backports main universe restricted multiverse" >> /etc/apt/sources.list.new && \
#mv /etc/apt/sources.list.new /etc/apt/sources.list

COPY ./root /tmp/rootoverlay
COPY ./run.sh /tmp/run.sh

Loading…
Cancel
Save