Skip to content
Merged
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN dpkg --add-architecture i386 \
&& echo "deb-src http://archive.debian.org/debian/ buster main" > /etc/apt/sources.list.d/deb-src.list \
&& echo 'Dpkg::Use-Pty "0";\nquiet "2";\nAPT::Install-Recommends "0";' > /etc/apt/apt.conf.d/99autopilot \
&& echo 'Acquire::HTTP::No-Cache "True";' > /etc/apt/apt.conf.d/99no-cache \
&& apt-get update \
&& apt-get update -o Acquire::Check-Valid-Until=false \
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disabling APT’s Valid-Until check via -o Acquire::Check-Valid-Until=false weakens the repository freshness guarantee and enables replay/freeze attacks on package metadata. A network attacker who can intercept HTTP traffic to the Debian archive can replay an older, still-signed Release file and package index, causing your build to pull stale or more vulnerable package versions than intended. Consider avoiding this override if possible (e.g., by using a maintained base image, pinned snapshot, or other mechanism) so that APT continues enforcing metadata expiration.

Copilot uses AI. Check for mistakes.
&& apt-get install \
build-essential \
gcc-multilib \
Expand Down