Skip to content

Commit

Permalink
Merge pull request #58 from devilbox/fix-apt-deprecations
Browse files Browse the repository at this point in the history
Fix apt invalid key
  • Loading branch information
cytopia authored Nov 20, 2022
2 parents 536e21e + 5ae2ffb commit d20e480
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfiles/Dockerfile.jessie
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,18 @@ ENV RUNTIME_TOOLS \
curl


###
### Fix expiring apt keys
###
RUN set -eux \
&& echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until \
&& { \
echo "deb [trusted=yes] http://deb.debian.org/debian jessie main"; \
echo "deb [trusted=yes] http://security.debian.org/debian-security jessie/updates main"; \
echo "deb [trusted=yes] http://deb.debian.org/debian jessie-updates main"; \
} > /etc/apt/sources.list


###
### Build OpenSSL
###
Expand Down

0 comments on commit d20e480

Please sign in to comment.