Skip to content

Commit

Permalink
added [check-valid-until=no] for eol debian-9
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedBM committed Feb 14, 2025
1 parent fb8c2b9 commit 1819bec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions devops/docker/debian-9-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ ARG DEBIAN_FRONTEND=noninteractive

# debian-9 is EOL, update sources.list to use snapshot.debian.org mirrors
RUN cat <<EOF > /etc/apt/sources.list
deb http://snapshot.debian.org/archive/debian/20220622T000000Z stretch main
deb http://snapshot.debian.org/archive/debian-security/20220622T000000Z stretch/updates main
deb http://snapshot.debian.org/archive/debian/20220622T000000Z stretch-updates main
deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20220622T000000Z stretch main
deb [check-valid-until=no] http://snapshot.debian.org/archive/debian-security/20220622T000000Z stretch/updates main
deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20220622T000000Z stretch-updates main
EOF

RUN apt -y update && apt-get -y install software-properties-common
Expand Down

0 comments on commit 1819bec

Please sign in to comment.