File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ FROM {{ prefix }}debian:buster
9
9
10
10
MAINTAINER Pavel Shirshov
11
11
12
- RUN echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian buster-backports main" >> /etc/apt/sources.list
12
+ COPY ["sources.list.{{ CONFIGURED_ARCH }}", "/etc/apt/sources.list"]
13
+
13
14
## Make apt-get non-interactive
14
15
ENV DEBIAN_FRONTEND=noninteractive
15
16
16
17
## Set the apt source, update package cache and install necessary packages
17
18
## TODO: Clean up this step
18
- RUN sed --in-place 's/httpredir.debian.org/debian-archive.trafficmanager.net/' /etc/apt/sources.list \
19
- && apt-get update \
19
+ RUN apt-get update \
20
20
&& apt-get upgrade -y \
21
21
&& apt-get dist-upgrade -y \
22
22
&& apt-get install -y \
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ if [ -z "$DISTRO" ]; then
22
22
[ -z " $DISTRO " ] && DISTRO=jessie
23
23
fi
24
24
25
- if [[ " $IMAGENAME " == docker-base-* ]]; then
25
+ if [[ " $IMAGENAME " == docker-base-* ]] || [[ " $IMAGENAME " == docker-ptf ]] ; then
26
26
scripts/build_mirror_config.sh ${DOCKERFILE_PATH} $ARCH $DISTRO
27
27
fi
28
28
You can’t perform that action at this time.
0 commit comments