Skip to content

Commit 7754422

Browse files
authored
Merge pull request #10 from devilbox/fix-apt-deprecations
Fix apt invalid key
2 parents 6a034e0 + 02ef726 commit 7754422

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Dockerfiles/Dockerfile.jessie

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@ ENV RUNTIME_TOOLS \
6767
curl
6868

6969

70+
###
71+
### Fix expiring apt keys
72+
###
73+
RUN set -eux \
74+
&& echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until \
75+
&& { \
76+
echo "deb [trusted=yes] http://deb.debian.org/debian jessie main"; \
77+
echo "deb [trusted=yes] http://security.debian.org/debian-security jessie/updates main"; \
78+
echo "deb [trusted=yes] http://deb.debian.org/debian jessie-updates main"; \
79+
} > /etc/apt/sources.list
80+
81+
7082
# As this is the Jessie Version already, we can skip custom OpenSSL installation
7183

7284
###

0 commit comments

Comments
 (0)