Skip to content

Commit c5b51e7

Browse files
Add snapshot repos with validity checks disabled (#515)
* Add snapshot repos with validity checks disabled * Remove node.js installation instruction
1 parent 4b66f88 commit c5b51e7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Dockerfile.trixie

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM debian:unstable-20250811 as base
2-
RUN echo "deb http://snapshot.debian.org/archive/debian/20250811T000000Z/ unstable main" > /etc/apt/sources.list
3-
RUN echo "deb-src http://snapshot.debian.org/archive/debian/20250811T000000Z/ unstable main" >> /etc/apt/sources.list
2+
RUN echo "deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20250811T000000Z/ unstable main" > /etc/apt/sources.list
3+
RUN echo "deb-src [check-valid-until=no] http://snapshot.debian.org/archive/debian/20250811T000000Z/ unstable main" >> /etc/apt/sources.list
4+
RUN echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99snapshot
45
ARG DEBIAN_FRONTEND=noninteractive
56
ARG APT_LISTCHANGES_FRONTEND=none
67

@@ -87,7 +88,9 @@ RUN echo "---> purple-mattermost" && \
8788
#RUN curl -o /tmp/out/libtelegram-tdlib.so https://buildbot.hehoe.de/tdlib-pruple/libtelegram-tdlib-1.8.35_bookworm_amd64.so
8889

8990
FROM debian:unstable-20250811 as production
90-
91+
RUN echo "deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20250811T000000Z/ unstable main" > /etc/apt/sources.list
92+
RUN echo "deb-src [check-valid-until=no] http://snapshot.debian.org/archive/debian/20250811T000000Z/ unstable main" >> /etc/apt/sources.list
93+
RUN echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99snapshot
9194
EXPOSE 8080
9295
VOLUME ["/etc/spectrum2/transports", "/var/lib/spectrum2"]
9396

@@ -103,7 +106,6 @@ RUN echo "---> Installing libpurple plugins" && \
103106
purple-discord \
104107
libmarkdown2 \
105108
libogg0 libopusfile0 \
106-
nodejs \
107109
&& rm -rf /var/lib/apt/lists/*
108110
COPY --from=staging /tmp/out/* /usr/
109111
COPY --from=staging spectrum2/packaging/docker/run.sh /run.sh

0 commit comments

Comments
 (0)