Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dockers/docker-base-bullseye/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ COPY ["no_install_recommend_suggest", "/etc/apt/apt.conf.d"]
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d"]
COPY ["apt-multiple-retries", "/etc/apt/apt.conf.d"]

{%- if CONFIGURED_ARCH == "arm64" and MULTIARCH_QEMU_ENVIRON == "y" %}
RUN SKIP_BUILD_HOOK="y" wget -O debian-archive-keyring.deb 'http://ftp.de.debian.org/debian/pool/main/d/debian-archive-keyring/debian-archive-keyring_2021.1.1+deb11u1_all.deb' && dpkg -i debian-archive-keyring.deb && rm debian-archive-keyring.deb && SKIP_BUILD_HOOK="n"
{%- endif %}

# Update apt cache and
# pre-install fundamental packages
RUN apt-get update && \
Expand Down
4 changes: 4 additions & 0 deletions sonic-slave-bullseye/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ ARG CROSS_CXX=${gcc_arch}-g++
## Make apt-get non-interactive
ENV DEBIAN_FRONTEND=noninteractive

{%- if CONFIGURED_ARCH == "arm64" and MULTIARCH_QEMU_ENVIRON == "y" %}
RUN SKIP_BUILD_HOOK="y" wget -O debian-archive-keyring.deb 'http://ftp.de.debian.org/debian/pool/main/d/debian-archive-keyring/debian-archive-keyring_2021.1.1+deb11u1_all.deb' && dpkg -i debian-archive-keyring.deb && rm debian-archive-keyring.deb && SKIP_BUILD_HOOK="n"
{%- endif %}

{%- if CROSS_BUILD_ENVIRON == "y" %}
RUN eatmydata apt-get install -y python3 python3-pip
RUN apt-get install -y python3-minimal:$arch python3.9:$arch python3:$arch python3-dev:$arch python3-setuptools:$arch
Expand Down